Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy: csidriver added to helper scripts #3573

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/cephfs/plugin-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi

cd "$deployment_base" || exit 1

objects=(csi-provisioner-rbac csi-nodeplugin-rbac csi-config-map csi-cephfsplugin-provisioner csi-cephfsplugin)
objects=(csi-provisioner-rbac csi-nodeplugin-rbac csi-config-map csi-cephfsplugin-provisioner csi-cephfsplugin csidriver)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do same change for rbd also?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure! Done


for obj in "${objects[@]}"; do
kubectl create -f "./$obj.yaml"
Expand Down
2 changes: 1 addition & 1 deletion examples/cephfs/plugin-teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi

cd "$deployment_base" || exit 1

objects=(csi-cephfsplugin-provisioner csi-cephfsplugin csi-config-map csi-provisioner-rbac csi-nodeplugin-rbac)
objects=(csi-cephfsplugin-provisioner csi-cephfsplugin csi-config-map csi-provisioner-rbac csi-nodeplugin-rbac csidriver)

for obj in "${objects[@]}"; do
kubectl delete -f "./$obj.yaml"
Expand Down
2 changes: 1 addition & 1 deletion examples/rbd/plugin-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

pushd "${deployment_base}" >/dev/null || exit 1

objects=(csi-provisioner-rbac csi-nodeplugin-rbac csi-config-map csi-rbdplugin-provisioner csi-rbdplugin)
objects=(csi-provisioner-rbac csi-nodeplugin-rbac csi-config-map csi-rbdplugin-provisioner csi-rbdplugin csidriver)

for obj in "${objects[@]}"; do
kubectl create -f "./${obj}.yaml"
Expand Down
2 changes: 1 addition & 1 deletion examples/rbd/plugin-teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

pushd "${deployment_base}" >/dev/null || exit 1

objects=(csi-rbdplugin-provisioner csi-rbdplugin csi-config-map csi-provisioner-rbac csi-nodeplugin-rbac)
objects=(csi-rbdplugin-provisioner csi-rbdplugin csi-config-map csi-provisioner-rbac csi-nodeplugin-rbac csidriver)

for obj in "${objects[@]}"; do
kubectl delete -f "./${obj}.yaml"
Expand Down