-
Notifications
You must be signed in to change notification settings - Fork 162
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
Skip CSI driver creation for empty SO_CSI_DRIVER_PATH in deploy release script #1992
Skip CSI driver creation for empty SO_CSI_DRIVER_PATH in deploy release script #1992
Conversation
1f760e8
to
b392eb9
Compare
0d6fe19
to
1a62e26
Compare
eae3009
to
41c12b5
Compare
da32a41
to
b470e8e
Compare
b470e8e
to
5d8e5b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rzetelskik, tnozicka The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description of your changes:
Currently ci-deploy-release script times out waiting for local-csi-driver to roll out, despite
SO_CSI_DRIVER_PATH
being empty.https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/ci-scylla-operator-latest-e2e-gke-arm64-serial/1805169160804634624#1:test-build-log.txt%3A306
From my understanding the intention was to always run the given revision of local-csi-driver example manifests, since, contrary to the regular deploy script, the release deploy script doesn't account forSO_CSI_DRIVER_PATH
whatsoever.Hence this PR skips local-csi-driver creation together with NodeConfig creation when emptySO_NODECONFIG_PATH
is provided. We can always make it more granular if we need to deploy local-csi-driver without configuring a NodeConfig, but for now that seems good enough.Edit: local-csi-driver path can now be overridden by setting SO_CSI_DRIVER_PATH. In case the env var is empty, local-csi-driver deployment is skipped.
Which issue is resolved by this Pull Request:
Resolves #1987
/kind bug
/priority important-soon
/cc tnozicka