create namespace before deploying nfs

Change-Id: I0a6641ac5e3b79c62999136839d651b923405b0c
This commit is contained in:
Wahlstedt, Walter (ww229g) 2023-01-18 09:23:00 -05:00
parent 500f0a8565
commit 9286d03d77
1 changed files with 12 additions and 0 deletions

View File

@ -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 \