Skip to content
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: do not default mount point for volumes #61

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

richardcase
Copy link
Member

What this PR does / why we need it:

Taken of the kubebuilder default for the mount point of volumes,
Previously it defaulted to / and so if there was more than 1 volume
specified without mount points set there would be collision of mount
points. It has been changed to a required field without a default to
force users to specify it.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #47

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@richardcase richardcase added area/api Indicates an issue or PR relates to the APIs kind/bug Something isn't working labels Dec 14, 2021
Callisto13
Callisto13 previously approved these changes Dec 14, 2021
yitsushi
yitsushi previously approved these changes Dec 14, 2021
@richardcase richardcase dismissed stale reviews from yitsushi and Callisto13 via 07ce400 December 14, 2021 14:40
@richardcase richardcase force-pushed the 47_require_mount_path branch from ff4c518 to 07ce400 Compare December 14, 2021 14:40
Taken of the kubebuilder default for the mount point of volumes,
Previously it defaulted to `/` and so if there was more than 1 volume
specified without mount points set there would be collision of mount
points. It has been changed to a required field without a default to
force users to specify it.

Signed-off-by: Richard Case <[email protected]>
@richardcase richardcase force-pushed the 47_require_mount_path branch from 07ce400 to e8f5c8a Compare December 14, 2021 14:40
@richardcase richardcase merged commit b1d7c68 into main Dec 14, 2021
@richardcase richardcase deleted the 47_require_mount_path branch December 14, 2021 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Indicates an issue or PR relates to the APIs kind/bug Something isn't working size/xs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not default volume mount path
3 participants