33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
diff -tubr charts/gateway.orig/templates/deployment.yaml charts/gateway/templates/deployment.yaml
|
|
--- charts/gateway.orig/templates/deployment.yaml 2022-12-09 14:58:33.000000000 +0000
|
|
+++ charts/gateway/templates/deployment.yaml 2022-12-13 11:43:02.196667885 +0000
|
|
@@ -11,6 +11,9 @@
|
|
{{- if not .Values.autoscaling.enabled }}
|
|
replicas: {{ .Values.replicaCount }}
|
|
{{- end }}
|
|
+ # Give the LB 120s to detect and take into service
|
|
+ # should only be 40s by we are on AWS so ...
|
|
+ minReadySeconds: 120
|
|
selector:
|
|
matchLabels:
|
|
{{- include "gateway.selectorLabels" . | nindent 6 }}
|
|
diff -tubr charts/gateway.orig/templates/service.yaml charts/gateway/templates/service.yaml
|
|
--- charts/gateway.orig/templates/service.yaml 2022-12-09 14:58:33.000000000 +0000
|
|
+++ charts/gateway/templates/service.yaml 2022-12-12 22:52:27.629670669 +0000
|
|
@@ -38,7 +38,14 @@
|
|
port: 15017
|
|
targetPort: 15017
|
|
{{- else }}
|
|
-{{ .Values.service.ports | toYaml | indent 4 }}
|
|
+ {{- range $key, $val := .Values.service.ports }}
|
|
+ -
|
|
+ {{- range $pkey, $pval := $val }}
|
|
+ {{- if has $pkey (list "name" "nodePort" "port" "targetPort") }}
|
|
+ {{ $pkey}}: {{ $pval }}
|
|
+ {{- end }}
|
|
+ {{- end }}
|
|
+ {{- end }}
|
|
{{- end }}
|
|
{{- if .Values.service.externalIPs }}
|
|
externalIPs: {{- range .Values.service.externalIPs }}
|