File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ Get the first admin user from the list of users
146
146
147
147
{ {/*
148
148
Check if env exist in context
149
-
149
+ Usage : include " conduktor-gateway.envExists " (dict " envkey " " ENV_VAR_NAME " " context " $)
150
150
Params:
151
151
- envKey - String - Required - Name of the env.
152
152
- context - Context - Required - Parent context.
Original file line number Diff line number Diff line change 54
54
- name : JAVA_TOOL_OPTIONS
55
55
value : {{ tpl .Values.gateway.jmx.jvmArgs . | quote }}
56
56
{{- end}}
57
+ {{- if eq (include "conduktor-gateway.envExists" (dict "envkey" "GATEWAY_SECURED_METRICS" "context" $)) "false" }}
57
58
- name : GATEWAY_SECURED_METRICS
58
59
value : {{ .Values.gateway.admin.securedMetrics | quote }}
60
+ {{- end}}
59
61
{{- if and .Values.gateway.userPool .Values.gateway.userPool.serviceAccountRequired }}
60
62
- name : GATEWAY_USER_POOL_SERVICE_ACCOUNT_REQUIRED
61
63
value : {{ .Values.gateway.userPool.serviceAccountRequired | quote }}
You can’t perform that action at this time.
0 commit comments