rancher-partner-charts/charts/streamsets/control-agent/templates/token-secret.yaml

13 lines
453 B
YAML

kind: Secret
apiVersion: v1
metadata:
name: {{ include "control-agent.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "control-agent.name" . }}
helm.sh/chart: {{ include "control-agent.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
type: Opaque
data:
apiToken: {{ required "A Control Agent API token is required!" .Values.streamsets.api.token | b64enc }}