Merge "create namespace before deploying nfs"

This commit is contained in:
Zuul 2023-01-18 19:14:16 +00:00 committed by Gerrit Code Review
commit 9ac2d7f4fa
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 \