From 58dd16f90bbb4e957a52fc8c5be3f6703240210f Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Mon, 8 Nov 2021 14:34:52 +0100 Subject: [PATCH] chore(Postgresql): Move postgresql to a seperate dependency train --- .github/workflows/apps.test.yaml | 3 +++ .github/workflows/renovate-bump.yaml | 3 +++ charts/{stable => dependencies}/postgresql/.helmignore | 0 charts/{stable => dependencies}/postgresql/CHANGELOG.md | 0 charts/{stable => dependencies}/postgresql/CONFIG.md | 0 charts/{stable => dependencies}/postgresql/Chart.yaml | 2 +- charts/{stable => dependencies}/postgresql/README.md | 0 charts/{stable => dependencies}/postgresql/helm-values.md | 0 charts/{stable => dependencies}/postgresql/questions.yaml | 0 .../postgresql/templates/backup-postgres-config.yaml | 0 .../{stable => dependencies}/postgresql/templates/common.yaml | 0 .../{stable => dependencies}/postgresql/templates/secret.yaml | 0 .../postgresql/templates/upgrade-backup-postgres-hook.yaml | 0 charts/{stable => dependencies}/postgresql/values.yaml | 1 + 14 files changed, 8 insertions(+), 1 deletion(-) rename charts/{stable => dependencies}/postgresql/.helmignore (100%) rename charts/{stable => dependencies}/postgresql/CHANGELOG.md (100%) rename charts/{stable => dependencies}/postgresql/CONFIG.md (100%) rename charts/{stable => dependencies}/postgresql/Chart.yaml (97%) rename charts/{stable => dependencies}/postgresql/README.md (100%) rename charts/{stable => dependencies}/postgresql/helm-values.md (100%) rename charts/{stable => dependencies}/postgresql/questions.yaml (100%) rename charts/{stable => dependencies}/postgresql/templates/backup-postgres-config.yaml (100%) rename charts/{stable => dependencies}/postgresql/templates/common.yaml (100%) rename charts/{stable => dependencies}/postgresql/templates/secret.yaml (100%) rename charts/{stable => dependencies}/postgresql/templates/upgrade-backup-postgres-hook.yaml (100%) rename charts/{stable => dependencies}/postgresql/values.yaml (98%) diff --git a/.github/workflows/apps.test.yaml b/.github/workflows/apps.test.yaml index deb7155c289..8a4489de4fe 100644 --- a/.github/workflows/apps.test.yaml +++ b/.github/workflows/apps.test.yaml @@ -31,6 +31,7 @@ jobs: - 'charts/dev/**' - 'charts/stable/**' - 'charts/incubator/**' + - 'charts/dependencies/**' - 'charts/library/**' - run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json - id: reduce @@ -84,6 +85,8 @@ jobs: train="library" elif test -f "./charts/dev/${{ matrix.app }}/Chart.yaml"; then train="dev" + elif test -f "./charts/dependencies/${{ matrix.app }}/Chart.yaml"; then + train="dependencies" else train="incubator" fi diff --git a/.github/workflows/renovate-bump.yaml b/.github/workflows/renovate-bump.yaml index f440ca661f5..91da20ceded 100644 --- a/.github/workflows/renovate-bump.yaml +++ b/.github/workflows/renovate-bump.yaml @@ -32,6 +32,7 @@ jobs: - 'charts/stable/**' - 'charts/incubator/**' - 'charts/library/**' + - 'charts/dependencies/**' - name: Filter filter-output run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json - name: Bump @@ -49,6 +50,8 @@ jobs: train="incubator" elif test -f "./charts/library/${chart}/Chart.yaml"; then train="library" + elif test -f "./charts/dependencies/${{ matrix.app }}/Chart.yaml"; then + train="dependencies" else train="incubator" fi diff --git a/charts/stable/postgresql/.helmignore b/charts/dependencies/postgresql/.helmignore similarity index 100% rename from charts/stable/postgresql/.helmignore rename to charts/dependencies/postgresql/.helmignore diff --git a/charts/stable/postgresql/CHANGELOG.md b/charts/dependencies/postgresql/CHANGELOG.md similarity index 100% rename from charts/stable/postgresql/CHANGELOG.md rename to charts/dependencies/postgresql/CHANGELOG.md diff --git a/charts/stable/postgresql/CONFIG.md b/charts/dependencies/postgresql/CONFIG.md similarity index 100% rename from charts/stable/postgresql/CONFIG.md rename to charts/dependencies/postgresql/CONFIG.md diff --git a/charts/stable/postgresql/Chart.yaml b/charts/dependencies/postgresql/Chart.yaml similarity index 97% rename from charts/stable/postgresql/Chart.yaml rename to charts/dependencies/postgresql/Chart.yaml index 2888bba9e0f..80cbec88bf3 100644 --- a/charts/stable/postgresql/Chart.yaml +++ b/charts/dependencies/postgresql/Chart.yaml @@ -22,7 +22,7 @@ name: postgresql sources: - https://www.postgresql.org/ type: application -version: 5.1.11 +version: 5.1.12 annotations: truecharts.org/catagories: | - database diff --git a/charts/stable/postgresql/README.md b/charts/dependencies/postgresql/README.md similarity index 100% rename from charts/stable/postgresql/README.md rename to charts/dependencies/postgresql/README.md diff --git a/charts/stable/postgresql/helm-values.md b/charts/dependencies/postgresql/helm-values.md similarity index 100% rename from charts/stable/postgresql/helm-values.md rename to charts/dependencies/postgresql/helm-values.md diff --git a/charts/stable/postgresql/questions.yaml b/charts/dependencies/postgresql/questions.yaml similarity index 100% rename from charts/stable/postgresql/questions.yaml rename to charts/dependencies/postgresql/questions.yaml diff --git a/charts/stable/postgresql/templates/backup-postgres-config.yaml b/charts/dependencies/postgresql/templates/backup-postgres-config.yaml similarity index 100% rename from charts/stable/postgresql/templates/backup-postgres-config.yaml rename to charts/dependencies/postgresql/templates/backup-postgres-config.yaml diff --git a/charts/stable/postgresql/templates/common.yaml b/charts/dependencies/postgresql/templates/common.yaml similarity index 100% rename from charts/stable/postgresql/templates/common.yaml rename to charts/dependencies/postgresql/templates/common.yaml diff --git a/charts/stable/postgresql/templates/secret.yaml b/charts/dependencies/postgresql/templates/secret.yaml similarity index 100% rename from charts/stable/postgresql/templates/secret.yaml rename to charts/dependencies/postgresql/templates/secret.yaml diff --git a/charts/stable/postgresql/templates/upgrade-backup-postgres-hook.yaml b/charts/dependencies/postgresql/templates/upgrade-backup-postgres-hook.yaml similarity index 100% rename from charts/stable/postgresql/templates/upgrade-backup-postgres-hook.yaml rename to charts/dependencies/postgresql/templates/upgrade-backup-postgres-hook.yaml diff --git a/charts/stable/postgresql/values.yaml b/charts/dependencies/postgresql/values.yaml similarity index 98% rename from charts/stable/postgresql/values.yaml rename to charts/dependencies/postgresql/values.yaml index 0406d2d774f..afcef2786ec 100644 --- a/charts/stable/postgresql/values.yaml +++ b/charts/dependencies/postgresql/values.yaml @@ -7,6 +7,7 @@ securityContext: readOnlyRootFilesystem: false service: + type: "ClusterIP" main: enabled: true ports: