diff --git a/apps/charts/audiobookshelf/Chart.lock b/apps/charts/audiobookshelf/Chart.lock deleted file mode 100644 index 0b66763..0000000 --- a/apps/charts/audiobookshelf/Chart.lock +++ /dev/null @@ -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" diff --git a/apps/charts/audiobookshelf/Chart.yaml b/apps/charts/audiobookshelf/Chart.yaml index dda1777..689dad2 100644 --- a/apps/charts/audiobookshelf/Chart.yaml +++ b/apps/charts/audiobookshelf/Chart.yaml @@ -4,4 +4,4 @@ name: audiobookshelf dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/baikal/Chart.yaml b/apps/charts/baikal/Chart.yaml index a6f1385..1ab7aeb 100644 --- a/apps/charts/baikal/Chart.yaml +++ b/apps/charts/baikal/Chart.yaml @@ -4,4 +4,4 @@ name: baikal dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/blinko/Chart.yaml b/apps/charts/blinko/Chart.yaml index ba6e05a..151b1ae 100644 --- a/apps/charts/blinko/Chart.yaml +++ b/apps/charts/blinko/Chart.yaml @@ -4,4 +4,4 @@ name: blinko dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/bytestash/Chart.yaml b/apps/charts/bytestash/Chart.yaml index b504b90..e0e18c1 100644 --- a/apps/charts/bytestash/Chart.yaml +++ b/apps/charts/bytestash/Chart.yaml @@ -4,4 +4,4 @@ name: bytestash dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/calibre-web/Chart.yaml b/apps/charts/calibre-web/Chart.yaml index 482487f..c86cadd 100644 --- a/apps/charts/calibre-web/Chart.yaml +++ b/apps/charts/calibre-web/Chart.yaml @@ -4,4 +4,4 @@ name: calibre-web dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/coder/Chart.yaml b/apps/charts/coder/Chart.yaml index 07bc4e8..e57c301 100644 --- a/apps/charts/coder/Chart.yaml +++ b/apps/charts/coder/Chart.yaml @@ -4,4 +4,4 @@ name: coder dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/esphome/Chart.yaml b/apps/charts/esphome/Chart.yaml index fd781ec..0cd1c4f 100644 --- a/apps/charts/esphome/Chart.yaml +++ b/apps/charts/esphome/Chart.yaml @@ -4,4 +4,4 @@ name: esphome dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/forgejo/Chart.yaml b/apps/charts/forgejo/Chart.yaml index fbd26a7..b0052b2 100644 --- a/apps/charts/forgejo/Chart.yaml +++ b/apps/charts/forgejo/Chart.yaml @@ -4,4 +4,4 @@ name: forgejo dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/gitea/Chart.yaml b/apps/charts/gitea/Chart.yaml index 61c0487..8fcc0dd 100644 --- a/apps/charts/gitea/Chart.yaml +++ b/apps/charts/gitea/Chart.yaml @@ -4,4 +4,4 @@ name: gitea dependencies: - name: common version: 1.0.0 - repository: file://../common + repository: file://../../common diff --git a/apps/charts/common/Chart.yaml b/apps/common/Chart.yaml similarity index 100% rename from apps/charts/common/Chart.yaml rename to apps/common/Chart.yaml diff --git a/apps/charts/common/MIGRATION.md b/apps/common/MIGRATION.md similarity index 98% rename from apps/charts/common/MIGRATION.md rename to apps/common/MIGRATION.md index d17dcfe..c2ad7aa 100644 --- a/apps/charts/common/MIGRATION.md +++ b/apps/common/MIGRATION.md @@ -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 diff --git a/apps/charts/common/README.md b/apps/common/README.md similarity index 98% rename from apps/charts/common/README.md rename to apps/common/README.md index bc8c920..e47acae 100644 --- a/apps/charts/common/README.md +++ b/apps/common/README.md @@ -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. diff --git a/apps/charts/common/TEMPLATING.md b/apps/common/TEMPLATING.md similarity index 97% rename from apps/charts/common/TEMPLATING.md rename to apps/common/TEMPLATING.md index a0f4f3a..9ca5a26 100644 --- a/apps/charts/common/TEMPLATING.md +++ b/apps/common/TEMPLATING.md @@ -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 diff --git a/apps/charts/common/common-1.0.0.tgz b/apps/common/common-1.0.0.tgz similarity index 100% rename from apps/charts/common/common-1.0.0.tgz rename to apps/common/common-1.0.0.tgz diff --git a/apps/charts/common/templates/_helpers.tpl b/apps/common/templates/_helpers.tpl similarity index 100% rename from apps/charts/common/templates/_helpers.tpl rename to apps/common/templates/_helpers.tpl