From 86e8e187aa0466c299cdd24d3b4cfada461ccee0 Mon Sep 17 00:00:00 2001 From: Arjun Nemani Date: Mon, 6 Mar 2023 06:33:00 -0800 Subject: [PATCH] Explicitly specify command for k8s spec (#86) Summary: Pull Request resolved: https://github.com/WhatsApp/WhatsApp-Business-API-Setup-Scripts/pull/86 Reviewed By: hasharmameta Differential Revision: D43837079 Pulled By: nemani fbshipit-source-id: aab25bc8c1370b3a45c5b3f538add9c7da70dc9f --- installation/kubernetes/coreapp.yaml | 1 + installation/kubernetes/master.yaml | 1 + installation/kubernetes/webapp.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/installation/kubernetes/coreapp.yaml b/installation/kubernetes/coreapp.yaml index e2c4189..036839f 100644 --- a/installation/kubernetes/coreapp.yaml +++ b/installation/kubernetes/coreapp.yaml @@ -63,6 +63,7 @@ spec: containers: - name: whatsapp-coreapp image: docker.whatsapp.biz/coreapp:v$VERSION + command: ["/opt/whatsapp/bin/launch_within_docker.sh"] imagePullPolicy: IfNotPresent resources: limits: diff --git a/installation/kubernetes/master.yaml b/installation/kubernetes/master.yaml index 615a0dc..4dcefcc 100644 --- a/installation/kubernetes/master.yaml +++ b/installation/kubernetes/master.yaml @@ -63,6 +63,7 @@ spec: containers: - name: whatsapp-master image: docker.whatsapp.biz/coreapp:v$VERSION + command: ["/opt/whatsapp/bin/launch_within_docker.sh"] imagePullPolicy: IfNotPresent resources: limits: diff --git a/installation/kubernetes/webapp.yaml b/installation/kubernetes/webapp.yaml index 226a284..26c348b 100644 --- a/installation/kubernetes/webapp.yaml +++ b/installation/kubernetes/webapp.yaml @@ -51,6 +51,7 @@ spec: containers: - name: whatsapp-web image: docker.whatsapp.biz/web:v$VERSION + command: ["/opt/whatsapp/bin/launch_within_docker.sh"] imagePullPolicy: IfNotPresent resources: limits: