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

cluster: bug fixes to kubeconfig gen #6459

Merged
merged 1 commit into from
Nov 4, 2024
Merged

cluster: bug fixes to kubeconfig gen #6459

merged 1 commit into from
Nov 4, 2024

Conversation

nicks
Copy link
Member

@nicks nicks commented Nov 4, 2024

  • treat failure to write kubeconfigs as a cluster
    connection failure
  • if runtime dir is not available, write
    kubeconfigs in a state dir instead
    (spec says that if the runtime dir doesn't exist,
    it's up to the implementer to find a better dir,
    but isn't opinionated about what dir we use)

Signed-off-by: Nick Santos nick.santos@docker.com

- treat failure to write kubeconfigs as a cluster
  connection failure
- if runtime dir is not available, write
  kubeconfigs in a state dir instead
  (spec says that if the runtime dir doesn't exist,
  it's up to the implementer to find a better dir,
  but isn't opinionated about what dir we use)

Signed-off-by: Nick Santos <nick.santos@docker.com>
@nicks nicks force-pushed the nicks/runtime-dir branch from febd587 to 8378677 Compare November 4, 2024 17:14
@nicks nicks merged commit 9622112 into master Nov 4, 2024
8 checks passed
@nicks nicks deleted the nicks/runtime-dir branch November 4, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants