Skip to content

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 <richard@weave.works>
@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