-
Notifications
You must be signed in to change notification settings - Fork 70
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
hostpath-provisioner: unexpected error getting claim reference: selfLink was empty, can't make reference #113
Comments
I'm not sure how I can help here as it is based on kubernetes-sigs/sig-storage-lib-external-provisioner/hostpath-provisioner example project which wasn't updated for the last 3 years except the go version |
@rimusz it might be related to rimusz/hostpath-provisioner#8 which I'm taking a look into. |
@tuananhnguyen-ct please try tag |
I did run tests on
Looking good, I'm going to merge my PR rimusz/hostpath-provisioner#10 |
Fixed in #114 |
Is this a request for help?: yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BugReport
Version of Helm and Kubernetes:
k8s: 1.21.3
helm: 3.6.3
Which chart: hostpath-provisioner
What happened:
Provisioner doesn't provision PVs:
Googled and found similar issue in nfs provisioner (kubernetes-sigs/nfs-subdir-external-provisioner#25).
k8s from v1.20.0 changed default behaviour and started using RemoveSelfLink=true
Workaround for kube-apiserver was to pass
--feature-gates=RemoveSelfLink=false
as argument or load via kubectl apply -f. It worked until k8s v1.21.0Now I can't make hostpath-provisioner work with kind cluster.
What you expected to happen:
Provisioner should provision PVs.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: