Skip to content

Support specifying kubeconfig directly as yaml#3177

Closed
r4victor wants to merge 3 commits intomasterfrom
issue_3167_kubeconfig_as_yaml
Closed

Support specifying kubeconfig directly as yaml#3177
r4victor wants to merge 3 commits intomasterfrom
issue_3167_kubeconfig_as_yaml

Conversation

@r4victor
Copy link
Copy Markdown
Collaborator

Closes #3167

It's now possible to specify kubeconfig for kubernetes backend directly as yaml via the data field:

type: kubernetes
kubeconfig:
  data:
    apiVersion: v1
    clusters:
    - cluster:
        # ...
    contexts:
    - context:
        # ...
    # ...

Previously, kubeconfig contents have to be converted to a string first.

@r4victor
Copy link
Copy Markdown
Collaborator Author

r4victor commented Oct 10, 2025

Closing as you can already specify kubeconfig as yaml multiline string, e.g.

type: kubernetes
kubeconfig:
  data: |
    apiVersion: v1
    clusters:
    - cluster:
        # ...
    contexts:
    - context:
        # ...
    # ...

@r4victor r4victor closed this Oct 10, 2025
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.

[Feature]: server/config.yml load kubeconfig via data key

1 participant