@@ -60,20 +60,20 @@ spec:
6060 {{- end }}
6161 {{- if .Values.serviceAccount.create }}
6262 serviceAccountName : {{ include "common.names.serviceAccountName" . }}
63- {{- end }}
63+ {{- end }}
6464 securityContext :
6565 {{- toYaml .Values.podSecurityContext | nindent 8 }}
6666 {{- if or ( .Values.apigw.initContainer.enabled ) ( .Values.extraInitContainers ) }}
6767 initContainers :
68- {{- if .Values.elasticsearch.deploy }}
68+ {{- if .Values.elasticsearch.deploy }}
6969 - name : waitforelasticsearch
7070 image : {{ .Values.global.curlImage }}
7171 imagePullPolicy : IfNotPresent
72- {{- if .Values.resources.apigwInitContainer }}
72+ {{- if .Values.resources.apigwInitContainer }}
7373 resources :
7474 {{- toYaml .Values.resources.apigwInitContainer | nindent 12 }}
7575 {{- end }}
76- {{- if .Values.apigw.initContainer.securityContext }}
76+ {{- if .Values.apigw.initContainer.securityContext }}
7777 securityContext :
7878 {{- toYaml .Values.apigw.initContainer.securityContext | nindent 12 }}
7979 {{- end }}
@@ -148,7 +148,7 @@ spec:
148148 valueFrom :
149149 secretKeyRef :
150150 name : {{ include "apigateway.elastickeystoresecret" . }}
151- key : {{ include "apigateway.elastickeystoresecretPasswordKey" . }}
151+ key : {{ include "apigateway.elastickeystoresecretPasswordKey" . }}
152152 - name : apigw_elasticsearch_https_truststorePassword
153153 valueFrom :
154154 secretKeyRef :
@@ -171,7 +171,7 @@ spec:
171171 - containerPort : {{ int .Values.apigw.adminPort }}
172172 name : admin-http
173173 protocol : TCP
174- - containerPort : {{ int .Values.apigw.runtimeExternalPort }}
174+ - containerPort : {{ int .Values.apigw.runtimeExternalPort }}
175175 name : external-http
176176 protocol : TCP
177177 {{- if .Values.grpcService.enabled }}
@@ -181,7 +181,7 @@ spec:
181181 {{- end }}
182182 {{- if .Values.extraPorts }}
183183 {{- toYaml .Values.extraPorts | nindent 10 }}
184- {{- end }}
184+ {{- end }}
185185 livenessProbe :
186186 tcpSocket :
187187 port : {{ int .Values.apigw.adminPort }}
@@ -194,7 +194,7 @@ spec:
194194 httpGet :
195195 path : /rest/apigateway/health
196196 port : {{ int .Values.apigw.adminPort }}
197- scheme : {{ .Values.apigw.readinessProbe.scheme }}
197+ scheme : {{ .Values.apigw.readinessProbe.scheme }}
198198 failureThreshold : 3
199199 initialDelaySeconds : 30
200200 periodSeconds : 30
@@ -219,7 +219,7 @@ spec:
219219 {{- end }}
220220 {{- if .Values.extraVolumeMounts }}
221221 {{- if eq "string" (printf "%T" .Values.extraVolumeMounts) }}
222- {{- tpl .Values.extraVolumeMounts . | nindent 12 }}
222+ {{- tpl .Values.extraVolumeMounts . | nindent 12 }}
223223 {{- else }}
224224 {{- toYaml .Values.extraVolumeMounts | nindent 12 }}
225225 {{- end }}
@@ -245,7 +245,7 @@ spec:
245245 {{- toYaml . | nindent 8 }}
246246 {{- end }}
247247 {{- if .Values.hostAliases }}
248- hostAliases :
248+ hostAliases :
249249 {{- toYaml .Values.hostAliases | nindent 8 }}
250250 {{- end }}
251251 volumes :
@@ -258,7 +258,7 @@ spec:
258258 - key : apigw-config.yml
259259 path : apigw-config.yml
260260 - key : application.properties
261- path : application.properties
261+ path : application.properties
262262 - name : apigw-license
263263 configMap :
264264 name : {{ include "apigateway.licenseconfigname" . }}
@@ -268,7 +268,7 @@ spec:
268268 path : licenseKey.xml
269269 {{- if .Values.elasticsearch.tlsEnabled }}
270270 - name : elastic-tls
271- secret :
271+ secret :
272272 secretName : {{ include "apigateway.elastictls" .}}
273273 items :
274274 - key : truststore.jks
0 commit comments