{{- if eq .Values.csp "OpenStack" -}}
apiVersion: v1
kind: Secret
metadata:
  name: openstackkey
  namespace: {{ .Release.Namespace }}
data:
  cloudprovider.conf: {{ .Values.OpenStack.secretData | b64enc }}
{{- end -}}
