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

Remove config flag as a global Flag + setting config default location to /etc/k0s/k0s.yaml #1389

Merged
merged 3 commits into from
Dec 28, 2021

Commits on Dec 27, 2021

  1. remove --config as a global flag

    this commit removes config as a global flag so that it will not
    show up in commands that don't use it (for example, worker).
    it also sets the default config path to /etc/k0s/k0s.yaml since it is
    already the de-facto location for k0sctl and also appears in our
    documenttation.
    Signed-off-by: Karen Almog <[email protected]>
    Karen Almog committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    63c545f View commit details
    Browse the repository at this point in the history
  2. config refactoring: make tests green again

    Signed-off-by: Karen Almog <[email protected]>
    Karen Almog committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    901cddf View commit details
    Browse the repository at this point in the history
  3. config refactoring: defer close config file

    Signed-off-by: Karen Almog <[email protected]>
    Karen Almog committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    5e2aa11 View commit details
    Browse the repository at this point in the history