diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/deployment.yaml | 5 | ||||
-rw-r--r-- | templates/service.yaml | 7 |
2 files changed, 2 insertions, 10 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 8c10730..d32f952 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -75,20 +75,19 @@ spec: subPath: aai.pem ports: - containerPort: {{ .Values.service.internalPort }} - - containerPort: {{ .Values.service.internalPort2 }} # disable liveness probe when breakpoints set in debugger # so K8s doesn't restart unresponsive container {{- if eq .Values.liveness.enabled true }} livenessProbe: tcpSocket: - port: {{ .Values.service.internalPort2 }} + port: {{ .Values.service.internalPort }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{ end -}} readinessProbe: httpGet: path: /aai/util/echo - port: {{ .Values.service.internalPort2 }} + port: {{ .Values.service.internalPort }} scheme: HTTPS httpHeaders: - name: X-FromAppId diff --git a/templates/service.yaml b/templates/service.yaml index 91bdb2e..28df229 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -29,17 +29,10 @@ spec: port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} - - name: {{ .Values.service.portName2 }} - port: {{ .Values.service.externalPort2 }} - targetPort: {{ .Values.service.internalPort2 }} - nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} name: {{ .Values.service.portName }} - - port: {{ .Values.service.externalPort2 }} - targetPort: {{ .Values.service.internalPort2 }} - name: {{ .Values.service.portName2 }} {{- end}} type: {{ .Values.service.type }} selector: |