rancher-partner-charts/charts/codefresh/cf-runtime/templates/volume-provisioner/secret.dind-volume-provisio...

18 lines
551 B
YAML

apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: dind-volume-provisioner
labels:
app: dind-volume-provisioner
data:
{{- if .Values.storage.gcedisk.serviceAccountJson }}
google-service-account.json: {{ .Values.storage.gcedisk.serviceAccountJson | b64enc }}
{{- end }}
{{- if .Values.storage.ebs.accessKeyId }}
aws_access_key_id: {{ .Values.storage.ebs.accessKeyId | b64enc }}
{{- end }}
{{- if .Values.storage.ebs.secretAccessKey }}
aws_secret_access_key: {{ .Values.storage.ebs.secretAccessKey | b64enc }}
{{- end }}