serviceaccount.yaml 371 B

1234567891011
  1. {{- if .Values.serviceAccounts.server.create }}
  2. apiVersion: v1
  3. kind: ServiceAccount
  4. metadata:
  5. labels:
  6. {{- include "prometheus.server.labels" . | nindent 4 }}
  7. name: {{ template "prometheus.serviceAccountName.server" . }}
  8. {{ include "prometheus.namespace" . | indent 2 }}
  9. annotations:
  10. {{ toYaml .Values.serviceAccounts.server.annotations | indent 4 }}
  11. {{- end }}