patcher-serviceaccount.yaml 439 B

123456789101112
  1. {{- if and (.Values.plugin.patcherServiceAccount.create) (.Values.plugin.jobs.patchConsoles.enabled) -}}
  2. apiVersion: v1
  3. kind: ServiceAccount
  4. metadata:
  5. name: {{ include "openshift-console-plugin.patcherServiceAccountName" . }}
  6. labels:
  7. {{- include "openshift-console-plugin.labels" . | nindent 4 }}
  8. {{- with .Values.plugin.patcherServiceAccount.annotations }}
  9. annotations:
  10. {{- toYaml . | nindent 4 }}
  11. {{- end }}
  12. {{- end }}