-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Merged by Bors] - Shorten the CSI registration path #231
Changes from all commits
a762d77
33c1ffe
4cc0403
ac7ea1c
29bc261
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,9 @@ spec: | |
volumes: | ||
- name: registration-sock | ||
hostPath: | ||
path: /var/lib/kubelet/plugins_registry/secrets.stackable.tech-reg.sock | ||
# node-driver-registrar appends a driver-unique filename to this path to avoid conflicts | ||
# see https://github.com/stackabletech/secret-operator/issues/229 for why this path should not be too long | ||
path: /var/lib/kubelet/plugins_registry | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know much about this but...did it point to a directory before as well? And is there any chance of a namespace clash? And...does YAML support comments? If yes...this'd be a great place for a link to the issue... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The node-registrar is hard-coded to use In most cases it still worked fine, because kubelet scans the plugin registry path recursively... except for that it can't connect when the path gets too long (#229). I can add a comment about it, sure. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry for being pedantic and I do know git blame exists but I find it incredibly helpful if code links to issues
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. |
||
- name: csi | ||
hostPath: | ||
path: /var/lib/kubelet/plugins/secrets.stackable.tech/ | ||
|
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.
What happens if you don't?
I assume it'll just be unused but not dangerous?
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.
secret-operator will fail to start back up until it's done (or rather, secret-op itself will start, but the node-driver-registrar sidecar will fail).
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.
Oh! Well, then my breaking change label is correct after all.....
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.
Sadly, yes.