From e2b75f42b3072c6cba57f5055483df5054321482 Mon Sep 17 00:00:00 2001 From: pvannierop Date: Thu, 17 Oct 2024 11:58:57 +0200 Subject: [PATCH] Fix minio mc app version for velero chart --- charts/velero-s3-deployment/README.md | 2 +- charts/velero-s3-deployment/templates/deployment.yaml | 2 +- charts/velero-s3-deployment/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/velero-s3-deployment/README.md b/charts/velero-s3-deployment/README.md index 890a976..27a195a 100644 --- a/charts/velero-s3-deployment/README.md +++ b/charts/velero-s3-deployment/README.md @@ -39,7 +39,7 @@ A Helm chart for Velero S3 deployment, this chart holds resources used by Velero |-----|------|---------|-------------| | objectStorageBackupReplicaCount | int | `1` | Number of replicas for object storage backup pod, should be 1 | | mc_image.repository | string | `"minio/mc"` | Object storage backup pod image repository | -| mc_image.tag | string | `nil` | Object storage backup pod image tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion. | +| mc_image.tag | string | `"RELEASE.2022-07-06T14-54-36Z"` | Object storage backup pod image tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion. | | mc_image.pullPolicy | string | `"IfNotPresent"` | Object storage backup pod image pull policy | | imagePullSecrets | list | `[]` | Docker registry secret names as an array | | podSecurityContext | object | `{}` | Configure object storage backup pod pods' Security Context | diff --git a/charts/velero-s3-deployment/templates/deployment.yaml b/charts/velero-s3-deployment/templates/deployment.yaml index 36378ab..53e15bb 100644 --- a/charts/velero-s3-deployment/templates/deployment.yaml +++ b/charts/velero-s3-deployment/templates/deployment.yaml @@ -26,7 +26,7 @@ spec: - name: intermediate securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.mc_image.repository }}:{{ .Values.mc_image.tag | default .Chart.AppVersion }}" + image: "{{ .Values.mc_image.repository }}:{{ .Values.mc_image.tag }}" env: - name: MC_HOST_local value: "http://{{ .Values.local.accessKey }}:{{ .Values.local.secretKey }}@{{ .Values.local.address }}" diff --git a/charts/velero-s3-deployment/values.yaml b/charts/velero-s3-deployment/values.yaml index 033929a..53a7087 100644 --- a/charts/velero-s3-deployment/values.yaml +++ b/charts/velero-s3-deployment/values.yaml @@ -10,7 +10,7 @@ mc_image: repository: minio/mc # -- Object storage backup pod image tag (immutable tags are recommended) # Overrides the image tag whose default is the chart appVersion. - tag: + tag: RELEASE.2022-07-06T14-54-36Z # -- Object storage backup pod image pull policy pullPolicy: IfNotPresent