apiVersion: v1
kind: Secret
metadata:
  name: {{ template "coscale.name" . }}
  labels:
    app: {{ template "coscale.name" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
type: Opaque
data:
 app_id : {{ default "MISSING" .Values.coscale.appId | b64enc | quote }}
 access_token : {{ default "MISSING" .Values.coscale.accessToken | b64enc | quote }}