Browse Source

add a sercret volume mount

pull/5049/head
Max Roby 1 year ago
committed by Chris Lu
parent
commit
2af6b13800
  1. 11
      k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

11
k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

@ -76,6 +76,17 @@ spec:
{{- if .Values.master.readinessProbe.enabled }} {{- if .Values.master.readinessProbe.enabled }}
{{- $hostpath_exists := include "master.hostpath_exists" . -}} {{- $hostpath_exists := include "master.hostpath_exists" . -}}
{{- $existing_claims := include "master.existing_claims" . -}} {{- $existing_claims := include "master.existing_claims" . -}}
{{- if .Values.filer.s3.enableAuth }}
volumes:
- name: config-users
secret:
defaultMode: 420
{{- if .Values.filer.s3.existingConfigSecret }}
secretName: {{ .Values.filer.s3.existingConfigSecret }}
{{- else }}
secretName: seaweedfs-s3-secret
{{- end }}
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

Loading…
Cancel
Save