From a6800cb3762a8619439fff73fd2485b11bc8f02a Mon Sep 17 00:00:00 2001 From: Giovanni Barillari Date: Thu, 18 Nov 2021 18:28:59 +0100 Subject: [PATCH] Update chart --- charts/tfstater/Chart.yaml | 4 ++-- charts/tfstater/templates/deployment.yaml | 2 +- charts/tfstater/templates/hooks/job-admin-user.yaml | 2 +- charts/tfstater/templates/hooks/job-migrations.yaml | 2 +- charts/tfstater/templates/secret.yaml | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/charts/tfstater/Chart.yaml b/charts/tfstater/Chart.yaml index 7c30070..3bcd01f 100644 --- a/charts/tfstater/Chart.yaml +++ b/charts/tfstater/Chart.yaml @@ -3,8 +3,8 @@ type: application name: tfstater description: An HTTP Terraform state backend with locking support -version: 0.1.2 -appVersion: 0.1.0 +version: 0.1.3 +appVersion: 0.1.1 kubeVersion: ">=1.14.0-0" home: https://github.com/gi0baro/tfstater diff --git a/charts/tfstater/templates/deployment.yaml b/charts/tfstater/templates/deployment.yaml index 277b9e9..a6ed4e1 100644 --- a/charts/tfstater/templates/deployment.yaml +++ b/charts/tfstater/templates/deployment.yaml @@ -39,7 +39,7 @@ spec: securityContext: {{- toYaml .Values.securityContext | nindent 12 }} {{- end }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "%s" .Chart.AppVersion) }}" imagePullPolicy: {{ .Values.image.pullPolicy }} {{- with .Values.env }} env: diff --git a/charts/tfstater/templates/hooks/job-admin-user.yaml b/charts/tfstater/templates/hooks/job-admin-user.yaml index 545083a..9a164e7 100644 --- a/charts/tfstater/templates/hooks/job-admin-user.yaml +++ b/charts/tfstater/templates/hooks/job-admin-user.yaml @@ -32,7 +32,7 @@ spec: securityContext: {{- toYaml .Values.securityContext | nindent 12 }} {{- end }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "%s" .Chart.AppVersion) }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: - emmett diff --git a/charts/tfstater/templates/hooks/job-migrations.yaml b/charts/tfstater/templates/hooks/job-migrations.yaml index 2c556cc..999ef1d 100644 --- a/charts/tfstater/templates/hooks/job-migrations.yaml +++ b/charts/tfstater/templates/hooks/job-migrations.yaml @@ -31,7 +31,7 @@ spec: securityContext: {{- toYaml .Values.securityContext | nindent 12 }} {{- end }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "%s" .Chart.AppVersion) }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: - emmett diff --git a/charts/tfstater/templates/secret.yaml b/charts/tfstater/templates/secret.yaml index f0f43d0..76c0401 100644 --- a/charts/tfstater/templates/secret.yaml +++ b/charts/tfstater/templates/secret.yaml @@ -38,6 +38,7 @@ stringData: bucket: {{ $bucket.name }} {{- else }} endpoint: {{ $objStoreConfig.endpoint }} + bucket: {{ $objStoreConfig.bucket }} region: {{ $objStoreConfig.region }} access_key: {{ $objStoreConfig.access_key }} secret_key: {{ $objStoreConfig.secret_key }}