11 lines
313 B
YAML
11 lines
313 B
YAML
{{- if and .Values.monitor.enabled (not .Values.monitor.existingMonitorToken ) -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
type: Opaque
|
|
metadata:
|
|
name: {{ include "cf-monitor.fullname" . }}
|
|
labels: {{- include "cf-monitor.labels" . | nindent 4 }}
|
|
data:
|
|
codefresh.token: {{ .Values.monitor.token | b64enc }}
|
|
{{- end -}}
|