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

Dia 4 - Ajustar comando #132

Closed
adamobuccianti-ext opened this issue Apr 3, 2021 · 1 comment
Closed

Dia 4 - Ajustar comando #132

adamobuccianti-ext opened this issue Apr 3, 2021 · 1 comment

Comments

@adamobuccianti-ext
Copy link

adamobuccianti-ext commented Apr 3, 2021

Jeferson,
na criação do usuário para o K8S, o comando abaixo não localiza o arquivo .key (DIA 4)

Existe algum passo anterior ?

Agora setando as confs de user e key:

kubectl config set-credentials linuxtips --client-certificate=linuxtips.crt --client-key=linuxtips.key --embed-certs --kubeconfig=linuxtips-config

@zilmarr
Copy link
Contributor

zilmarr commented Apr 20, 2021

Salve @adamobuccianti-ext !
Vc precisa criar um CSR e aprovar a sua emissão no cluster. Logo no início aqui tem o passo a passo.
Vc deve executar o comando kubectl config set-credentials linuxtips --client-certificate=linuxtips.crt --client-key=linuxtips.key --embed-certs --kubeconfig=linuxtips-config na pasta onde se encontram os arquivos do certificado, ou passar o caminho nas chaves correspondentes.

@badtuxx badtuxx closed this as completed Jan 18, 2024
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

No branches or pull requests

3 participants