Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

core/install: Add configurable CSI mount flags to install#4387

Merged
demophoon merged 2 commits intomainfrom
f/main/nomad-csi-mount-flags
Feb 2, 2023
Merged

core/install: Add configurable CSI mount flags to install#4387
demophoon merged 2 commits intomainfrom
f/main/nomad-csi-mount-flags

Conversation

@demophoon
Copy link
Contributor

Before this commit the default mount settings for volumes created and attached were hardcoded to noatime. Some CSI driver setups, such as in NFS can produce incompatible setups in which the installation always fails.

This commit adds in the -nomad-csi-mount-flags flag which can be used to override the default mount flags.

Copy link
Contributor

@paladin-devops paladin-devops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default was named twice in the docs, which is because the sentence "The default is..." is now auto-generated based on the variable's default value! 😃

Copy link
Contributor

@briancain briancain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, but +1 to @paladin-devops suggestions before merge! Our CLI package will auto-generate the default value into the description

@demophoon
Copy link
Contributor Author

Gonna rebase before merge since its been a while

Before this commit the default mount settings for volumes created and
attached were hardcoded to `noatime`. Some CSI driver setups, such as in
NFS can produce incompatible setups in which the installation always
fails.

This commit adds in the `-nomad-csi-mount-flags` flag which can be used
to override the default mount flags.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants