Skip to content

Commit 59285fe

Browse files
authored
Make nginx pod starts after controller pod (#624)
Co-authored-by: ning.yougang <[email protected]>
1 parent 5d33638 commit 59285fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

helm/openwhisk/templates/nginx-pod.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ spec:
6363
- name: logs
6464
emptyDir: {}
6565
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
66+
initContainers:
67+
# Wait for a controller to be up (which implies kafka, zookeeper, couchdb are all up as well).
68+
{{ include "openwhisk.readiness.waitForController" . | indent 6 }}
6669
containers:
6770
- name: nginx
6871
image: "{{- .Values.docker.registry.name -}}{{- .Values.nginx.imageName -}}:{{- .Values.nginx.imageTag -}}"

0 commit comments

Comments
 (0)