Add preinstall hook to rancher chart
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{{- if .Values.preinstallHook }}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: create-tls-ca-sa
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
"helm.sh/hook-weight": "-3"
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user