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

wip Config loading 2: revenge of runtime config #4

Closed
wants to merge 1 commit into from

Conversation

kke
Copy link
Owner

@kke kke commented Apr 27, 2023

keep the runtime config for now, but make it more obvious. also, make it hold k0svars and pid.

The commands like token create and so on do also need k0svars, they're somewhat dependant on either a) the user at least supplying the same --data-dir as the controller, which may not be enough or b) the defaults to be correct. They have no clue about --single or --enable-dynamic-config for example.

The k0svars are now taken from the runtime config when runtime config is loaded, which is done when a command that does not have --config of its own requires a k0s config yaml.

@kke kke force-pushed the refactor-config-loading-2 branch 4 times, most recently from 1d56dda to b178581 Compare May 5, 2023 07:33
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke force-pushed the refactor-config-loading-2 branch from f2f0335 to b033597 Compare May 5, 2023 12:50
@github-actions
Copy link

github-actions bot commented Jun 4, 2023

The PR is marked as stale since no activity has been recorded in 30 days

@github-actions github-actions bot added Stale and removed Stale labels Jun 4, 2023
@github-actions
Copy link

github-actions bot commented Jul 5, 2023

The PR is marked as stale since no activity has been recorded in 30 days

@github-actions github-actions bot added Stale and removed Stale labels Jul 5, 2023
@github-actions
Copy link

github-actions bot commented Aug 6, 2023

The PR is marked as stale since no activity has been recorded in 30 days

@github-actions github-actions bot added the Stale label Aug 6, 2023
@kke kke closed this Aug 7, 2023
@kke kke deleted the refactor-config-loading-2 branch August 7, 2023 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant