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

Simplify kubeconfig retrieval by using k0s kubeconfig command #720

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

kke
Copy link
Contributor

@kke kke commented May 27, 2024

Fixes #719

Use k0s kubeconfig admin to generate a kubeconfig.

@kke kke added the chore Housekeeping / typo / code quality improvements label May 27, 2024
@kke kke force-pushed the use-k0s-kubeconfig branch 2 times, most recently from d098eeb to 88df65b Compare May 27, 2024 12:10
@kke
Copy link
Contributor Author

kke commented Jun 3, 2024

There's this flag added in #249:

   --kubeconfig-api-address value  Override the API address in the kubeconfig when kubeconfig-out is set

It needs to be re-implemented somehow here.

@kke kke marked this pull request as draft June 3, 2024 12:15
kke added 2 commits June 4, 2024 12:47
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke marked this pull request as ready for review June 4, 2024 10:52
@kke kke merged commit 1afb01f into main Jun 10, 2024
36 checks passed
@kke kke deleted the use-k0s-kubeconfig branch June 10, 2024 08:37
kke added a commit that referenced this pull request Jun 11, 2024
kke added a commit that referenced this pull request Jun 17, 2024
…#720)"

This reverts commit 1afb01f.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
kke added a commit that referenced this pull request Jun 26, 2024
…#720)"

This reverts commit 1afb01f.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
kke added a commit that referenced this pull request Jun 26, 2024
…#720)"

This reverts commit 1afb01f.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
kke added a commit that referenced this pull request Jun 26, 2024
…#720)"

This reverts commit 1afb01f.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
kke added a commit that referenced this pull request Jun 26, 2024
…#720)"

This reverts commit 1afb01f.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
kke added a commit that referenced this pull request Jun 28, 2024
…#720)"

This reverts commit 1afb01f.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Housekeeping / typo / code quality improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use "k0s kubeconfig" to get kubeconfig
1 participant