diff options
author | Jerome Doucerain <jerome.doucerain@bell.ca> | 2018-03-17 14:33:18 -0400 |
---|---|---|
committer | Jerome Doucerain <jerome.doucerain@bell.ca> | 2018-03-17 14:33:18 -0400 |
commit | 9d84e4397839580c401d457997c794a5c92db60e (patch) | |
tree | 9b568540a463d6d483f2de960d5b4b8ffbec02b3 | |
parent | d18576bc9bb956b1ef8cbc042cede2e864aefc51 (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>
-rw-r--r-- | kubernetes/portal/templates/portal-vnc-dep.yaml | 3 |
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 }} + |