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

Allow [kubectl config set-cluster] to specify certificate-authority data in command. #501

Open
neoel opened this Issue Jun 20, 2018 · 6 comments

Comments

Projects
None yet
8 participants
@neoel
Copy link

neoel commented Jun 20, 2018

Currently kubectl only allows a certificate to be specified from the filesystem, it's possible to embed the certificate in the configuration file.
I'd like to be able to pass the certificate base64 encoded directly with kubectl config set-cluster.
This will allow me to generate a configuration command without having to write the cert to the filesystem.

@k8s-mirror-cli-feature-requests

@neoel neoel changed the title Allow `kubectl config set-cluster` to inline certificate-authority Allow [kubectl config set-cluster] to inline certificate-authority Jun 20, 2018

@neoel neoel changed the title Allow [kubectl config set-cluster] to inline certificate-authority Allow [kubectl config set-cluster] to specify certificate-authority data in command. Jun 20, 2018

@carlpett

This comment has been minimized.

Copy link

carlpett commented Jul 22, 2018

Totally agree! As a workaround, there is a somewhat non-obvious way to do it already:
kubectl config set clusters.<name-of-cluster>.certificate-authority-data $CADATA

Still think this should be a set-cluster operation, though.

@seans3

This comment has been minimized.

Copy link
Collaborator

seans3 commented Sep 25, 2018

/kind feature
/sig cli
/area kubectl
/priority P2

@fejta-bot

This comment has been minimized.

Copy link

fejta-bot commented Dec 25, 2018

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@nikhita

This comment has been minimized.

Copy link
Member

nikhita commented Dec 25, 2018

/remove-lifecycle stale

@zedtux

This comment has been minimized.

Copy link

zedtux commented Jan 15, 2019

I'm also looking for this feature 👍

@bluemalkin

This comment has been minimized.

Copy link

bluemalkin commented Feb 3, 2019

2019 and kubectl still wants the files physically on the disk. This is not automation friendly :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment