Skip to content

Commit

Permalink
chore: include initContainers to operator and console deployments (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroEsc authored Aug 4, 2021
1 parent 0f43eee commit cfa7e78
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/minio-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions helm/minio-operator/templates/console-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ spec:
value: "on"
resources:
{{- toYaml .Values.console.resources | nindent 12 }}
{{- with .Values.console.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end}}
4 changes: 4 additions & 0 deletions helm/minio-operator/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.operator.resources | nindent 12 }}
{{- with .Values.operator.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end}}
4 changes: 4 additions & 0 deletions helm/minio-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ operator:
tag: v4.1.3
pullPolicy: IfNotPresent
imagePullSecrets: []
initcontainers: []
replicaCount: 1
securityContext:
runAsUser: 1000
Expand All @@ -39,6 +40,7 @@ console:
tag: v0.7.5
pullPolicy: IfNotPresent
imagePullSecrets: []
initcontainers: []
replicaCount: 1
nodeSelector: {}
affinity: {}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cfa7e78

Please sign in to comment.