Skip to content
This repository was archived by the owner on Oct 2, 2022. It is now read-only.
This repository was archived by the owner on Oct 2, 2022. It is now read-only.

feat(config): Support kubeconfig #100

@gaocegege

Description

@gaocegege

Please describe what you would like to see in ContainerSSH

kubernetes:
  connection:
    host: your-kubernetes-api-server:6443
    cert: |
      -----BEGIN CERTIFICATE-----
      ...
      -----END CERTIFICATE-----
    key: |
      -----BEGIN RSA PRIVATE KEY-----
      ...
      -----END RSA PRIVATE KEY-----
    cacert: |
      -----BEGIN CERTIFICATE-----
      ...
      -----END CERTIFICATE-----

The config is not user-friendly when running outside of kubernetes.

Please describe the solution you'd like

It will be better to support kubeConfigPath:

kubernetes:
    kubeConfigPath: ~/.kube/config

A clear and concise description of what you want to happen.

Please describe your use case

A clear and concise description of how you would use this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions