forked from YvosOnTheHub/LabNetApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall_in_one.sh
18 lines (13 loc) · 846 Bytes
/
all_in_one.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
cd ~/LabNetApp/Kubernetes_v4/Scenarios/Scenario02
echo "#######################################################################################################"
echo "Creating NAS Backend with kubectl"
echo "#######################################################################################################"
kubectl create -n trident -f secret_ontap_nfs-svm_username.yaml
kubectl create -n trident -f backend_nas-default.yaml
kubectl create -n trident -f backend_nas-eco-default.yaml
echo "#######################################################################################################"
echo "Creating NAS Storage Class"
echo "#######################################################################################################"
kubectl create -f sc-csi-ontap-nas.yaml
kubectl create -f sc-csi-ontap-nas-eco.yaml