add context variable for templating purpose
Signed-off-by: Sergiy Gavrylenko <bigboo@bbq.agency> Signed-off-by: Sergiy Gavrylenko <sgavrylenko@domovoy.org.ua>
This commit is contained in:
parent
7efd2d4a44
commit
548a8c5c1d
2 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,9 @@ metadata:
|
|||
data:
|
||||
context: |
|
||||
argocdUrl: {{ .Values.argocdUrl | quote }}
|
||||
{{- with .Values.context }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.notifiers }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
|
|
|
@ -19,6 +19,11 @@ nodeSelector: {}
|
|||
updateStrategy:
|
||||
type: Recreate
|
||||
|
||||
context:
|
||||
# Add custom values into context
|
||||
# region: east
|
||||
# environmentName: staging
|
||||
|
||||
secret:
|
||||
# Whether helm chart creates controller secret
|
||||
create: true
|
||||
|
|
Loading…
Reference in a new issue