From 3a0c29ee3f63b2ff74934978d63d09413a07eb60 Mon Sep 17 00:00:00 2001 From: Kai Ramuenke Date: Mon, 29 Apr 2024 14:56:55 +1000 Subject: [PATCH] create new version of helm chart pointing images to 2.2.0 (#24) --- .github/workflows/publish.yaml | 3 ++- charts/codezero/Chart.yaml | 4 ++-- charts/codezero/templates/system/deployment.yaml | 2 +- charts/codezero/values.yaml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f4664f6..c78c90d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -26,6 +26,7 @@ jobs: project_id: c6o-production - name: Deploy run: | + curl https://storage.googleapis.com/c6o-releases/helm-charts/index.yaml --output ./index.yaml helm package ./charts/* -d ./tmp/ - helm repo index tmp --url https://charts.codezero.io + helm repo index tmp --url https://charts.codezero.io --merge ./index.yaml gsutil cp ./tmp/* gs://c6o-releases/helm-charts diff --git a/charts/codezero/Chart.yaml b/charts/codezero/Chart.yaml index 92dab1c..f270a48 100644 --- a/charts/codezero/Chart.yaml +++ b/charts/codezero/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.3 +version: 0.1.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v2" +appVersion: "2.2.0" diff --git a/charts/codezero/templates/system/deployment.yaml b/charts/codezero/templates/system/deployment.yaml index 4b044b0..3533492 100644 --- a/charts/codezero/templates/system/deployment.yaml +++ b/charts/codezero/templates/system/deployment.yaml @@ -21,7 +21,7 @@ spec: {{- toYaml .Values.system.podSecurityContext | nindent 8 }} initContainers: - name: space-init - image: "c6oio/spaceinit:825a485" + image: "c6oio/spaceinit:{{ default .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.system.image.pullPolicy }} env: - name: CZ_CLUSTER_CERT diff --git a/charts/codezero/values.yaml b/charts/codezero/values.yaml index 6134aa7..41cc908 100644 --- a/charts/codezero/values.yaml +++ b/charts/codezero/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. image: - tag: pasley + tag: 4786a5b hub: url: https://hub.codezero.io space: