File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212set -e
1313THISDIR=$( dirname 0)
1414# We need settings
15+ # unset KUBECONFIG
1516if test -n " $1 " ; then
1617 SET=" $1 "
1718else
2223# Read settings -- make sure you can trust it
2324source " $SET "
2425# Do this on the workload cluster, ensure we have a config
25- clusterctl get kubeconfig -n $CS_NAMESPACE $CL_NAME > ~ /.kube/config- $CS_NAMESPACE .$CL_NAME
26- export KUBECONFIG=~ /.kube/config- $CS_NAMESPACE .$CL_NAME
26+ # clusterctl get kubeconfig -n $CS_NAMESPACE $CL_NAME > ~/.kube/$CS_NAMESPACE.$CL_NAME
27+ export KUBECONFIG=~ /.kube/$CS_NAMESPACE .$CL_NAME
2728# Get cinder-csi-controllerplugin deployment and patch it
2829kubectl get -n kube-system deployment openstack-cinder-csi-controllerplugin -o yaml > ~ /tmp/cinder-csi-controllerplugin.yaml
2930patch ~ /tmp/cinder-csi-controllerplugin.yaml < $THISDIR /csi-cinder-controller-deployment.diff
You can’t perform that action at this time.
0 commit comments