File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
-
1
+ {{if not .Values.omitIdentityMigration}}
2
2
---
3
3
apiVersion : v1
4
4
kind : ConfigMap
78
78
{{ include "ziti-router.fullname" . }}-identity
79
79
else
80
80
echo "INFO: identity secret does not exist"
81
- fi
81
+ fi
82
+ {{end}}
Original file line number Diff line number Diff line change
1
+ {{if not .Values.omitIdentityMigration}}
2
+ ---
1
3
apiVersion : batch/v1
2
4
kind : Job
3
5
metadata :
72
74
{{- else }}
73
75
emptyDir : {}
74
76
{{- end }}
77
+ {{end}}
Original file line number Diff line number Diff line change 1
-
1
+ {{if not .Values.omitIdentityMigration}}
2
+ ---
2
3
apiVersion : v1
3
4
kind : ServiceAccount
4
5
metadata :
@@ -40,3 +41,4 @@ subjects:
40
41
- kind : ServiceAccount
41
42
name : {{ include "ziti-router.fullname" . }}-hook-serviceaccount
42
43
namespace : {{ .Release.Namespace }}
44
+ {{end}}
Original file line number Diff line number Diff line change @@ -360,6 +360,11 @@ tolerations: []
360
360
# -- deployment template spec affinity
361
361
affinity : {}
362
362
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
367
+
363
368
# # Enable persistence using Persistent Volume Claims
364
369
# # ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
365
370
# #
You can’t perform that action at this time.
0 commit comments