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:
|
data:
|
||||||
context: |
|
context: |
|
||||||
argocdUrl: {{ .Values.argocdUrl | quote }}
|
argocdUrl: {{ .Values.argocdUrl | quote }}
|
||||||
|
{{- with .Values.context }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.notifiers }}
|
{{- with .Values.notifiers }}
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -19,6 +19,11 @@ nodeSelector: {}
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
|
context:
|
||||||
|
# Add custom values into context
|
||||||
|
# region: east
|
||||||
|
# environmentName: staging
|
||||||
|
|
||||||
secret:
|
secret:
|
||||||
# Whether helm chart creates controller secret
|
# Whether helm chart creates controller secret
|
||||||
create: true
|
create: true
|
||||||
|
|
Loading…
Reference in a new issue