From 511439cbc554da6296aba7f0053e18c49feb7ff8 Mon Sep 17 00:00:00 2001 From: tangross <7686266+rtang03@users.noreply.github.com> Date: Tue, 3 Nov 2020 13:33:02 +0800 Subject: [PATCH] add helm variable "server.readinessProbeScheme" to argo chart --- charts/argo/templates/server-deployment.yaml | 2 +- charts/argo/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/argo/templates/server-deployment.yaml b/charts/argo/templates/server-deployment.yaml index bfaa3e97..a92c6348 100644 --- a/charts/argo/templates/server-deployment.yaml +++ b/charts/argo/templates/server-deployment.yaml @@ -52,7 +52,7 @@ spec: httpGet: path: / port: 2746 - scheme: HTTP + scheme: {{ .Values.server.readinessProbeScheme }} initialDelaySeconds: 10 periodSeconds: 20 env: diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index a6cceec0..ec15265b 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -157,6 +157,7 @@ server: # SecurityContext to set on the server pods podSecurityContext: {} name: server + readinessProbeScheme: HTTP serviceType: ClusterIP servicePort: 2746 # servicePortName: http