rancher-partner-charts/charts/codefresh/cf-runtime/templates/monitor/service-account.monitor.yaml

11 lines
332 B
YAML

{{- if and .Values.monitor.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "cf-monitor.fullname" . }}
labels: {{- include "cf-monitor.labels" . | nindent 4 }}
annotations:
{{ range $key, $value := .Values.monitor.serviceAccount.annotations }}
{{ $key }}: {{ $value }}
{{ end }}
{{- end }}