8000 Fix secret name in helm template by yyvfuruta · Pull Request #3340 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter
Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions operator/templates/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ spec:
- name: MINIO_ACCESS_KEY
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-minio"
name: {{ .Values.minio.auth.existingSecret | default (printf "%s-minio" (include "operator.fullname" .)) }}
key: root-user
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-minio"
name: {{ .Values.minio.auth.existingSecret | default (printf "%s-minio" (include "operator.fullname" .)) }}
key: root-password
- name: S3_BUCKET
value: {{ .Values.minio.defaultBuckets }}
Expand Down
8 changes: 4 additions & 4 deletions operator/tests/__snapshot__/operator_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ matches the snapshot:
valueFrom:
secretKeyRef:
key: root-user
name: RELEASE-NAME-minio
name: RELEASE-NAME-operator-minio
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
key: root-password
name: RELEASE-NAME-minio
name: RELEASE-NAME-operator-minio
- name: S3_BUCKET
value: securecodebox
- name: LURKER_IMAGE
Expand Down Expand Up @@ -808,12 +808,12 @@ properly-renders-the-service-monitor-when-enabled:
valueFrom:
secretKeyRef:
key: root-user
name: RELEASE-NAME-minio
name: RELEASE-NAME-operator-minio
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
key: root-password
name: RELEASE-NAME-minio
name: RELEASE-NAME-operator-minio
- name: S3_BUCKET
value: securecodebox
- name: LURKER_IMAGE
Expand Down
Loading
0