pkg/helmshim/fixtures/hook-chart/templates/cm.yaml (10 lines of code) (raw):
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.name }}
annotations:
"helm.sh/hook": "post-install,post-upgrade"
"helm.sh/hook-weight": "1"
"helm.sh/hook-delete-policy": "before-hook-creation"
data:
some: "value"