説明なし

frontend-service-account.yaml 899B

123456789101112131415
  1. {{- if .Values.frontend.serviceAccount.create }}
  2. apiVersion: v1
  3. kind: ServiceAccount
  4. metadata:
  5. name: {{ include "shuffle.frontend.serviceAccount.name" . }}
  6. namespace: {{ include "common.names.namespace" . | quote }}
  7. labels: {{- include "shuffle.frontend.labels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
  8. {{- if or .Values.frontend.serviceAccount.annotations .Values.commonAnnotations }}
  9. {{- $annotations := include "common.tplvalues.merge" (dict "values" (list .Values.frontend.serviceAccount.annotations .Values.commonAnnotations) "context" .) }}
  10. annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $ ) | nindent 4 }}
  11. {{- end }}
  12. automountServiceAccountToken: {{ .Values.frontend.serviceAccount.automountServiceAccountToken }}
  13. {{- include "shuffle.frontend.serviceAccount.imagePullSecrets" . | nindent 0 }}
  14. {{- end }}