From 9d84e4397839580c401d457997c794a5c92db60e Mon Sep 17 00:00:00 2001 From: Jerome Doucerain Date: Sat, 17 Mar 2018 14:33:18 -0400 Subject: Portal selective readiness check added a condition on pap readiness Issue-ID: OOM-746 Change-Id: Id8a84b798dfab10038e24ed09d5d2c6712fbbeb4 Signed-off-by: Jerome Doucerain --- kubernetes/portal/templates/portal-vnc-dep.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kubernetes/portal/templates') diff --git a/kubernetes/portal/templates/portal-vnc-dep.yaml b/kubernetes/portal/templates/portal-vnc-dep.yaml index 232f5b1576..f3418e7bb8 100644 --- a/kubernetes/portal/templates/portal-vnc-dep.yaml +++ b/kubernetes/portal/templates/portal-vnc-dep.yaml @@ -61,6 +61,7 @@ spec: image: {{ .Values.image.readiness }} imagePullPolicy: {{ .Values.pullPolicy }} name: portal-vnc-readiness +{{- if empty .Values.disablePolicyPap | not }} - command: - /root/ready.py args: @@ -72,6 +73,7 @@ spec: image: {{ .Values.image.readiness }} imagePullPolicy: {{ .Values.pullPolicy }} name: vnc-pap-readiness +{{- end }} - command: - /root/ready.py args: @@ -132,3 +134,4 @@ spec: imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" #{{ end }} + -- cgit 1.2.3-korg