From e7f3361c368a4b75d61eb1d149a1d9aa84c567fa Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Fri, 2 Nov 2018 13:10:06 -0700 Subject: Set default namespace to onap for kubectl Change-Id: I531b3a902a91c5b5965f4241bc7d85b3b8707ed6 Issue-ID: INT-586 Signed-off-by: Gary Wu --- deployment/heat/onap-oom/rancher_vm_entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'deployment') diff --git a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh index ed1dc886d..aadc81628 100644 --- a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh +++ b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh @@ -203,6 +203,8 @@ cd ~ KUBETOKEN=$(echo -n 'Basic '$(echo -n "$CATTLE_ACCESS_KEY:$CATTLE_SECRET_KEY" | base64 -w 0) | base64 -w 0) +NAMESPACE=onap + # create .kube/config cat > ~/.kube/config <