From 4ee9116131c9645a00da8644784295f305a9616b Mon Sep 17 00:00:00 2001 From: jiahui Date: Mon, 16 Oct 2023 14:02:55 +0800 Subject: [PATCH] fix `ENV must have two arguments` --- service/pay/deploy/Kubefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/service/pay/deploy/Kubefile b/service/pay/deploy/Kubefile index bd49a867d94..fae6298e3c8 100644 --- a/service/pay/deploy/Kubefile +++ b/service/pay/deploy/Kubefile @@ -3,15 +3,15 @@ COPY registry registry COPY manifests manifests ENV DEFAULT_NAMESPACE sealos -ENV WECHAT_APPID -ENV WECHAT_MCHAPIV3KEY -ENV WECHAT_MCHID -ENV WECHAT_PRIVATE_KEY -ENV MONGODB_URI -ENV STRIPE_API_KEY -ENV STRIPE_CURRENCY -ENV STRIPE_SUCCESS_POSTFIX -ENV STRIPE_CANCEL_POSTFIX -ENV MCH_CERTIFICATE_SERIAL_NUMBER +ENV WECHAT_APPID "" +ENV WECHAT_MCHAPIV3KEY "" +ENV WECHAT_MCHID "" +ENV WECHAT_PRIVATE_KEY "" +ENV MONGODB_URI "" +ENV STRIPE_API_KEY "" +ENV STRIPE_CURRENCY "" +ENV STRIPE_SUCCESS_POSTFIX "" +ENV STRIPE_CANCEL_POSTFIX "" +ENV MCH_CERTIFICATE_SERIAL_NUMBER "" CMD ["( kubectl create -f manifests/mongo-secret.yaml -n $DEFAULT_NAMESPACE || true ) && kubectl apply -f manifests/deploy.yaml"] \ No newline at end of file