create namespace before deploying nfs
Change-Id: I0a6641ac5e3b79c62999136839d651b923405b0c
This commit is contained in:
parent
500f0a8565
commit
9286d03d77
@ -14,6 +14,18 @@
|
||||
|
||||
set -xe
|
||||
|
||||
tee /tmp/nfs-ns.yaml << EOF
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
labels:
|
||||
kubernetes.io/metadata.name: nfs
|
||||
name: nfs
|
||||
name: nfs
|
||||
EOF
|
||||
|
||||
kubectl create -f /tmp/nfs-ns.yaml
|
||||
|
||||
#NOTE: Deploy command
|
||||
: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
|
||||
helm upgrade --install nfs-provisioner ${OSH_INFRA_PATH}/nfs-provisioner \
|
||||
|
Loading…
Reference in New Issue
Block a user