mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
moved common outside application set
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../common
|
||||
version: 1.0.0
|
||||
digest: sha256:07cebde439abe4ba19bb28e844b7419dab83c7f613886416aaf3ec08e8059144
|
||||
generated: "2026-01-01T12:59:49.454842+01:00"
|
||||
@@ -4,4 +4,4 @@ name: audiobookshelf
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: baikal
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: blinko
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: bytestash
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: calibre-web
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: coder
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: esphome
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: forgejo
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -4,4 +4,4 @@ name: gitea
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
|
||||
@@ -30,7 +30,7 @@ name: your-app
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
```
|
||||
|
||||
### Step 2: Restructure values.yaml
|
||||
@@ -197,6 +197,8 @@ cd apps/charts/your-app
|
||||
helm dependency build
|
||||
```
|
||||
|
||||
**Note:** The common library is located at `apps/common/`, so charts in `apps/charts/` use `repository: file://../../common`.
|
||||
|
||||
### Step 5: Test the Migration
|
||||
|
||||
Test that the chart renders correctly:
|
||||
@@ -653,10 +655,12 @@ externalSecrets:
|
||||
**Solution:**
|
||||
```bash
|
||||
cd apps/charts/your-app
|
||||
rm -rf charts
|
||||
rm -rf charts Chart.lock
|
||||
helm dependency build
|
||||
```
|
||||
|
||||
**Note:** After changing the repository path in `Chart.yaml` (e.g., from `file://../common` to `file://../../common`), you must delete `Chart.lock` and rebuild dependencies.
|
||||
|
||||
### Issue: Template Syntax Errors
|
||||
|
||||
**Error:** Template rendering fails with syntax errors
|
||||
@@ -13,7 +13,7 @@ name: your-app
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 1.0.0
|
||||
repository: file://../common
|
||||
repository: file://../../common
|
||||
```
|
||||
|
||||
Then run `helm dependency build` to download the dependency.
|
||||
@@ -73,7 +73,7 @@ env:
|
||||
|
||||
## Extending Placeholders
|
||||
|
||||
To add more placeholders, edit `apps/charts/common/templates/_helpers.tpl` in the `common.env` helper:
|
||||
To add more placeholders, edit `apps/common/templates/_helpers.tpl` in the `common.env` helper:
|
||||
|
||||
### Current Implementation
|
||||
|
||||
Reference in New Issue
Block a user