aboutsummaryrefslogtreecommitdiffstats
path: root/templates/deployment.yaml
diff options
context:
space:
mode:
authorHarish Venkata Kajur <vk250x@att.com>2019-04-26 15:13:09 -0400
committerHarish Venkata Kajur <vk250x@att.com>2019-04-26 15:13:12 -0400
commit0f43cf556c37c09184c5e0485791cd4ad96c7e36 (patch)
tree58d06dd719c65c0bf1b2dee280c10f1645bdeefb /templates/deployment.yaml
parent1dba1b169b3302d8abe9a24ade25679813b1348f (diff)
Disable stats port for haproxy
Issue-ID: AAI-2395 Change-Id: Id25a4f0a0770a62a8d1e78d0affcf210c93fbdd0 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'templates/deployment.yaml')
-rw-r--r--templates/deployment.yaml5
1 files changed, 2 insertions, 3 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