-
Notifications
You must be signed in to change notification settings - Fork 8
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
updated docs #10
Comments
@kfox1111 it's unclear which part of the doc you are referring to can you open a PR with a suggestion? |
oh. I missed the line after the kubeconf saying it was a kubeconf for the apiserver, not the user's kubeconf. Do you have a kubeconf example for users? |
apiVersion: v1
clusters:
- cluster:
server: https://kube.bar.com/
name: bar
contexts:
- context:
cluster: bar
user: replace_with_username
name: bar
current-context: bar
kind: Config
preferences: {}
users:
- name: replace_with_username
user:
as-user-extra: {}
token: replace_with_token_from_received_from_pamhook |
can it be used as a plugin ala: |
yes you will need to write something the makes an api call to pamhook to retrieve the token and then you use that as the exec portion of the user client config, there's nothing of that nature today |
ok. thanks. |
The docs in the kubeconf section look outdated as compared to lower where it is talking about TokenRequests (implies you can use it as a kubectl auth plugin now)
The text was updated successfully, but these errors were encountered: