Skip to content

make csi-node container cli values patchable#1018

Open
camh- wants to merge 1 commit into
piraeusdatastore:v2from
camh-:configurable-csi-node-args
Open

make csi-node container cli values patchable#1018
camh- wants to merge 1 commit into
piraeusdatastore:v2from
camh-:configurable-csi-node-args

Conversation

@camh-

@camh- camh- commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Make the values of the flags passed to containers of the csi-node
DaemonSet patchable by taking those values from environment variables.
Environment variables are much easier to patch with LinstorCluster
patches than the args array. This is the same way it is done with the
csi-controller containers.

Update docs/how-to/k0s.md to patch the KUBELET_REGISTRATION_PATH
environment variable instead of the whole set of args.

Make the values of the flags passed to containers of the csi-node
DaemonSet patchable by taking those values from environment variables.
Environment variables are much easier to patch with LinstorCluster
patches than the args array. This is the same way it is done with the
csi-controller containers.

Update docs/how-to/k0s.md to patch the `KUBELET_REGISTRATION_PATH`
environment variable instead of the whole set of args.

Signed-off-by: Cam Hutchison <camh@xdna.net>
@camh-

camh- commented Jun 27, 2026

Copy link
Copy Markdown
Contributor Author

I've created this change as I have found some of the csi-node logs to be a bit too chatty for my liking and wanted to turn them down a bit, but it is hard to patch an element of an array (the args with --v=5). The controller has a method of patching the env var value, so figured it would be good to have on the node too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant