post-delete-serviceaccount.yaml 405 B

12345678910111213
  1. apiVersion: v1
  2. kind: ServiceAccount
  3. metadata:
  4. name: post-delete-{{ template "kibana.fullname" . }}
  5. labels: {{ include "kibana.labels" . | nindent 4 }}
  6. annotations:
  7. "helm.sh/hook": post-delete
  8. "helm.sh/hook-delete-policy": hook-succeeded
  9. {{- if .Values.annotations }}
  10. {{- range $key, $value := .Values.annotations }}
  11. {{ $key }}: {{ $value | quote }}
  12. {{- end }}
  13. {{- end }}