k8s-csi-s3/deploy/helm/templates/secret.yaml

12 lines
305 B
YAML
Raw Normal View History

2021-12-08 18:17:39 +00:00
{{- if .Values.secret.create -}}
apiVersion: v1
kind: Secret
metadata:
namespace: {{ .Release.Namespace }}
name: {{ .Values.secret.name }}
stringData:
accessKeyID: {{ .Values.secret.accessKey }}
secretAccessKey: {{ .Values.secret.secretKey }}
endpoint: {{ .Values.secret.endpoint }}
{{- end -}}