Skip to content

Merge --mount and --mount-string flags #21178

@medyagh

Description

@medyagh

we dont need both flags, if you provide --mount-string, it shoud also mean you want --mount to be true

and we should Deprecate --mount-string
and for users that provide the old way, we should warning and TRY to do be our best to translate

also seems like we also have mount-options (super confusing) too many mount related things

      --mount                             This will start the mount daemon and automatically mount files into minikube.
      --mount-9p-version string           Specify the 9p version that the mount should use (default "9p2000.L")
      --mount-gid string                  Default group id used for the mount (default "docker")
      --mount-ip string                   Specify the ip that the mount should be setup on
      --mount-msize int                   The number of bytes to use for 9p packet payload (default 262144)
      --mount-options strings             Additional mount options, such as cache=fscache
      --mount-port uint16                 Specify the port that the mount should be setup on, where 0 means any free port.
      --mount-string string               The argument to pass the minikube mount command on start.
      --mount-type string                 Specify the mount filesystem type (supported types: 9p) (default "9p")
      --mount-uid string                  Default user id used for the mount (default "docker")

seems like we had added mount-string in 2017 even before @tstromberg and I were in minikube

https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md#version-0191---5302017

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/improvementCategorizes issue or PR as related to improving upon a current feature.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions