# helm_charts_api-secrets.yaml
apiVersion: v1
kind: Secret
metadata:
  name: {{ template "cloudserver.fullname" . }}
  labels:
    app: {{ template "cloudserver.name" . }}
    chart: {{ template "cloudserver.chart" . }}
    component: api
    heritage: {{ .Release.Service }}
    release: {{ .Release.Name }}
type: Opaque
data:
  accessKey: {{ .Values.api.credentials.accessKey | b64enc }}
  secretKey: {{ .Values.api.credentials.secretKey | b64enc }}