chore: update the default --k0s config template#1028
Closed
shinebayar-g wants to merge 1 commit intok0sproject:mainfrom
Closed
chore: update the default --k0s config template#1028shinebayar-g wants to merge 1 commit intok0sproject:mainfrom
shinebayar-g wants to merge 1 commit intok0sproject:mainfrom
Conversation
based on the latest `k0s config create` command output Signed-off-by: Shinebayar G <3091558+shinebayar-g@users.noreply.github.com>
kke
approved these changes
Feb 19, 2026
Author
|
Bump 👀 |
kke
reviewed
Mar 9, 2026
| spec: | ||
| api: | ||
| port: 6443 | ||
| address: 192.168.5.15 |
Contributor
There was a problem hiding this comment.
There are some addresses that are added by k0s to k0s config create output that depend on the system it was run on and should not be hardcoded here
kke
reviewed
Mar 9, 2026
Comment on lines
+33
to
+35
| sans: | ||
| - 192.168.5.15 | ||
| - fe80::5055:55ff:febb:c314 |
kke
reviewed
Mar 9, 2026
| ca: | ||
| certificatesExpireAfter: 8760h0m0s | ||
| expiresAfter: 87600h0m0s | ||
| peerAddress: 192.168.5.15 |
kke
requested changes
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
based on the latest
k0s config createcommand output.Initially I was only going to fix the
kind: ClusterConfig, then I noticed further discrepancies likepodSecurityPolicyetc. So I just updated the entire thing based on the latestk0s config createoutput. I assume that was the original intention behind thek0sctl init --k0scommand.