github.com/kubevela/workflow@v0.6.0/charts/vela-workflow/templates/admission-webhooks/job-patch/serviceaccount.yaml (about)

     1  {{- if and .Values.admissionWebhooks.enabled .Values.admissionWebhooks.patch.enabled .Values.rbac.create (not .Values.admissionWebhooks.certManager.enabled) }}
     2  apiVersion: v1
     3  kind: ServiceAccount
     4  metadata:
     5    name:  {{ template "kubevela.fullname" . }}-admission
     6    namespace: {{ .Release.Namespace }}
     7    annotations:
     8      "helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
     9      "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
    10    labels:
    11      app: {{ template "kubevela.name" . }}-admission
    12      {{- include "kubevela.labels" . | nindent 4 }}
    13  {{- end }}