Skip to content

Commit 045a2cd

Browse files
committed
rename key in values file for preventing the deployment of helm hooks
1 parent b61d9c9 commit 045a2cd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

charts/ziti-router/templates/pre-upgrade-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{if not .Values.omitIdentityMigration}}
1+
{{if not .Values.noHelmHooks}}
22
---
33
apiVersion: v1
44
kind: ConfigMap

charts/ziti-router/templates/pre-upgrade-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{if not .Values.omitIdentityMigration}}
1+
{{if not .Values.noHelmHooks}}
22
---
33
apiVersion: batch/v1
44
kind: Job

charts/ziti-router/templates/pre-upgrade-serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{if not .Values.omitIdentityMigration}}
1+
{{if not .Values.noHelmHooks}}
22
---
33
apiVersion: v1
44
kind: ServiceAccount

charts/ziti-router/values.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ctrl:
77
# -- required control plane endpoint, e.g., ctrl.ziti.example.com:443
88
endpoint: ""
99

10-
# -- Explicit proxy setting in the router configuration. Router can be deployed in a site
10+
# -- Explicit proxy setting in the router configuration. Router can be deployed in a site
1111
# where all egress traffic is forwarded through an explicit proxy.
1212
# The enrollment will also be forwarded through the proxy.
1313
proxy: {}
@@ -360,10 +360,10 @@ tolerations: []
360360
# -- deployment template spec affinity
361361
affinity: {}
362362

363-
# -- omit migration of identity secret to persistent volume
364-
# Previous versions of this chart stored the router identity in a secret resource. A migration is provided by the execution of a pre-upgrade hook.
365-
# If want to omit this migration (pre-upgrade hook) set this value to true.
366-
omitIdentityMigration: false
363+
# -- disable the execution of hooks, defined within this chart
364+
# This chart makes use of Helm hooks. Setting this to true will prevent the hooks from being deployed.
365+
# This is useful when using the chart with tools like ArgoCD
366+
noHelmHooks: false
367367

368368
## Enable persistence using Persistent Volume Claims
369369
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
@@ -391,7 +391,7 @@ persistence:
391391
volumeName:
392392
# -- PVC access mode: ReadWriteOnce (concurrent mounts not allowed), ReadWriteMany (concurrent allowed)
393393
accessMode: ReadWriteOnce
394-
# -- 50Mi is plenty for this state file
394+
# -- 50Mi is plenty for this state file
395395
size: 50Mi
396396
fabric:
397397
metrics:

0 commit comments

Comments
 (0)