-
Notifications
You must be signed in to change notification settings - Fork 210
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
Fix deploy-hostpath.sh hostpath pod and CRD conditional for k8s 1.16 #174
Fix deploy-hostpath.sh hostpath pod and CRD conditional for k8s 1.16 #174
Conversation
96ce950
to
08b4eb0
Compare
@@ -203,7 +203,7 @@ done | |||
# snapshotter, resizer, socat and hostpath plugin in the default namespace. | |||
expected_running_pods=6 | |||
cnt=0 | |||
while [ $(kubectl get pods 2>/dev/null | grep '^csi-hostpath.* Running ' | wc -l) -lt $expected_running_pods ] || ! kubectl describe volumesnapshotclasses.snapshot.storage.k8s.io 2>/dev/null >/dev/null; do | |||
while [ $(kubectl get pods 2>/dev/null | grep '^csi-hostpath.* Running ' | wc -l) -lt ${expected_running_pods} ]; do |
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.
Should L210 also be removed?
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.
Yes, removed
Signed-off-by: Grant Griffiths <grant@portworx.com>
08b4eb0
to
c2abbda
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggriffiths, msau42 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 |
…rsion Bump kind to v0.11.1
Signed-off-by: Grant Griffiths grant@portworx.com
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
In kubernetes-csi/external-snapshotter#299,
deploy-hostpath is hanging due to an invalid conditional.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
n/a
Does this PR introduce a user-facing change?: