summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal
diff options
context:
space:
mode:
authorJerome Doucerain <jerome.doucerain@bell.ca>2018-03-17 14:33:18 -0400
committerJerome Doucerain <jerome.doucerain@bell.ca>2018-03-17 14:33:18 -0400
commit9d84e4397839580c401d457997c794a5c92db60e (patch)
tree9b568540a463d6d483f2de960d5b4b8ffbec02b3 /kubernetes/portal
parentd18576bc9bb956b1ef8cbc042cede2e864aefc51 (diff)
Portal selective readiness check
added a condition on pap readiness Issue-ID: OOM-746 Change-Id: Id8a84b798dfab10038e24ed09d5d2c6712fbbeb4 Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
Diffstat (limited to 'kubernetes/portal')
-rw-r--r--kubernetes/portal/templates/portal-vnc-dep.yaml3
1 files changed, 3 insertions, 0 deletions
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 }}
+