diff --git a/helm/minio-operator/Chart.yaml b/helm/minio-operator/Chart.yaml index 4aa01befc5a..4f9832e40a4 100644 --- a/helm/minio-operator/Chart.yaml +++ b/helm/minio-operator/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for MinIO Operator name: minio-operator -version: 4.1.7 +version: 4.1.8 appVersion: v4.1.3 keywords: - storage diff --git a/helm/minio-operator/templates/console-deployment.yaml b/helm/minio-operator/templates/console-deployment.yaml index d14996653eb..054750a186a 100644 --- a/helm/minio-operator/templates/console-deployment.yaml +++ b/helm/minio-operator/templates/console-deployment.yaml @@ -52,3 +52,7 @@ spec: value: "on" resources: {{- toYaml .Values.console.resources | nindent 12 }} + {{- with .Values.console.initContainers }} + initContainers: + {{- toYaml . | nindent 8 }} + {{- end}} diff --git a/helm/minio-operator/templates/operator-deployment.yaml b/helm/minio-operator/templates/operator-deployment.yaml index c801c6cb055..dc8267fa83c 100644 --- a/helm/minio-operator/templates/operator-deployment.yaml +++ b/helm/minio-operator/templates/operator-deployment.yaml @@ -58,3 +58,7 @@ spec: {{- end }} resources: {{- toYaml .Values.operator.resources | nindent 12 }} + {{- with .Values.operator.initContainers }} + initContainers: + {{- toYaml . | nindent 8 }} + {{- end}} diff --git a/helm/minio-operator/values.yaml b/helm/minio-operator/values.yaml index bfa2ea98ade..839221d7705 100644 --- a/helm/minio-operator/values.yaml +++ b/helm/minio-operator/values.yaml @@ -18,6 +18,7 @@ operator: tag: v4.1.3 pullPolicy: IfNotPresent imagePullSecrets: [] + initcontainers: [] replicaCount: 1 securityContext: runAsUser: 1000 @@ -39,6 +40,7 @@ console: tag: v0.7.5 pullPolicy: IfNotPresent imagePullSecrets: [] + initcontainers: [] replicaCount: 1 nodeSelector: {} affinity: {} @@ -104,6 +106,7 @@ tenants: subPath: /data # pool secrets secrets: + # create a kubernetes secret object with the accessKey and secretKey as defined here. enabled: true name: minio1-secret accessKey: minio @@ -155,6 +158,7 @@ tenants: pullPolicy: IfNotPresent replicaCount: 1 secrets: + # create a kubernetes secret object with the fields here. enabled: true name: console-secret passphrase: SECRET