mirror of https://git.rancher.io/charts
Delete tgz files from assets, parameter in the post-install hook for namespace should use the
helm templatingpull/664/head
parent
af609af172
commit
2dd35d89bb
Binary file not shown.
Binary file not shown.
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: patch-sa
|
||||
annotations:
|
||||
"helm.sh/hook": post-install, post-upgrade
|
||||
"helm.sh/hook-delete-policy": hook-succeeded, before-hook-creation, hook-failed
|
||||
"helm.sh/hook-delete-policy": hook-succeeded, before-hook-creation
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
@ -15,5 +15,6 @@ spec:
|
|||
- name: sa
|
||||
image: "{{ template "system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
|
||||
imagePullPolicy: {{ .Values.global.imagePullPolicy }}
|
||||
command: ["kubectl", "patch", "serviceaccount", "-n", "cis-operator-system", "default", "-p", "{\"automountServiceAccountToken\": false}"]
|
||||
command: ["kubectl", "patch", "serviceaccount", "default", "-p", "{\"automountServiceAccountToken\": false}"]
|
||||
args: ["-n", {{ template "cis.namespace" . }}]
|
||||
backoffLimit: 1
|
|
@ -35,5 +35,5 @@ global:
|
|||
cattle:
|
||||
systemDefaultRegistry: ""
|
||||
kubectl:
|
||||
repository: rancher/istio-kubectl
|
||||
tag: 1.4.6
|
||||
repository: rancher/kubectl
|
||||
tag: v1.18.6
|
||||
|
|
Loading…
Reference in New Issue