post-delete-hook-service-account.yaml 403 B

123456789101112
  1. {{- if .Values.postDelete.enabled }}
  2. apiVersion: v1
  3. kind: ServiceAccount
  4. metadata:
  5. name: {{ template "rancher.fullname" . }}-post-delete
  6. namespace: {{ .Release.Namespace }}
  7. labels: {{ include "rancher.labels" . | nindent 4 }}
  8. annotations:
  9. "helm.sh/hook": post-delete
  10. "helm.sh/hook-weight": "1"
  11. "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed
  12. {{- end }}