Skip to content

Commit 0ed022c

Browse files
committed
deploy: use "apply" instead of "create" for snapshotter class
This makes it possible to run the script repeatedly to update a deployment. "kubectl apply" was already used for the other .yaml files.
1 parent 0bd3181 commit 0ed022c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/util/deploy-hostpath.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,4 @@ done
164164
165165
# deploy snapshotclass
166166
echo "deploying snapshotclass"
167-
kubectl create -f ${BASE_DIR}/snapshotter/csi-hostpath-snapshotclass.yaml
167+
kubectl apply -f ${BASE_DIR}/snapshotter/csi-hostpath-snapshotclass.yaml

0 commit comments

Comments
 (0)