From dev-return-286-archive-asf-public=cust-asf.ponee.io@yunikorn.apache.org Tue Mar 17 02:46:47 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C64FC180647 for ; Tue, 17 Mar 2020 03:46:46 +0100 (CET) Received: (qmail 9816 invoked by uid 500); 17 Mar 2020 02:46:46 -0000 Mailing-List: contact dev-help@yunikorn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yunikorn.apache.org Delivered-To: mailing list dev@yunikorn.apache.org Received: (qmail 9803 invoked by uid 99); 17 Mar 2020 02:46:46 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2020 02:46:46 +0000 From: GitBox To: dev@yunikorn.apache.org Subject: [GitHub] [incubator-yunikorn-k8shim] TaoYang526 commented on a change in pull request #81: [YUNIKORN-28] Support validating yunikorn-configs before admitting it Message-ID: <158441320600.10086.10224986062759519235.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Tue, 17 Mar 2020 02:46:46 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit TaoYang526 commented on a change in pull request #81: [YUNIKORN-28] Support validating yunikorn-configs before admitting it URL: https://github.com/apache/incubator-yunikorn-k8shim/pull/81#discussion_r393415259 ########## File path: helm-charts/yunikorn/templates/deployment.yaml ########## @@ -36,7 +36,7 @@ spec: lifecycle: postStart: exec: - command: ["/bin/sh", "/admission_util.sh", "create"] + command: ["/bin/sh", "/admission_util.sh", "create", "--env", "NAMESPACE={{ .Release.Namespace }}"] Review comment: I have tested this via calling command `helm install ./yunikorn --generate-name` , the result seems same as the command with `--namespace default`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org For additional commands, e-mail: dev-help@yunikorn.apache.org