Skip to content

Commit

Permalink
deploy: use "apply" instead of "create" for snapshotter class
Browse files Browse the repository at this point in the history
This makes it possible to run the script repeatedly to update
a deployment. "kubectl apply" was already used for the other
.yaml files.
  • Loading branch information
pohly committed Apr 10, 2019
1 parent 0bd3181 commit 0ed022c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/util/deploy-hostpath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ done
# deploy snapshotclass
echo "deploying snapshotclass"
kubectl create -f ${BASE_DIR}/snapshotter/csi-hostpath-snapshotclass.yaml
kubectl apply -f ${BASE_DIR}/snapshotter/csi-hostpath-snapshotclass.yaml

0 comments on commit 0ed022c

Please sign in to comment.