kubectl
- kubeconfig file (eg.
~/.kube/config
)
commands like
kubectl get nodes
should be working.
- kubectl : v1.19.3
- Kubernetes cluster : v1.19.3
- kfctl : 1.2.0 (kfctl_istio_dex.v1.2.0.yaml)
NSY : Not Supported Yet
TBD : To Be Decided
Only when you're using
staticPasswords
kfadmin get staticusers
kfadmin get profiles
kfadmin get contributors -p PROFILE
- Get all contributors included in a specific profile
Only when you're using
staticPasswords
kfadmin create staticuser -e USER_EMAIL -p PASSWORD -r
- flags
-r
,--restart-dex
- Restart
dex
deployment after updating ConfigMap to reflect changes - Without this option, you have to run
kubectl rollout restart deployment dex -n auth
to manually reflect changes
- Restart
kfadmin create profile -p PROFILE_NAME -e OWNER_EMAIL
kfadmin create contributor -p PROFILE_NAME -e USER_EMAIL
kfadmin update staticuser password -e USER_EMAIL -p NEW_PASSWORD -r
- flags
-r
,--restart-dex
- Restart
dex
deployment after updating ConfigMap to reflect changes - Without this option, you have to run
kubectl rollout restart deployment dex -n auth
to manually reflect changes
- Restart
kfadmin update profile owner -p PROFILE_NAME -e NEW_OWNER_EMAIL
kfadmin delete staticuser -e USER_EMAIL -r
- flags
-r
,--restart-dex
- Restart
dex
deployment after updating ConfigMap to reflect changes - Without this option, you have to run
kubectl rollout restart deployment dex -n auth
to manually reflect changes
- Restart
kfadmin delete profile -p PROFILE_NAME
kfadmin delete contributor -p PROFILE_NAME -e USER_EMAIL
$ source <(kfadmin completion bash)
# To load completions for each session, execute once:
# Linux:
$ kfadmin completion bash > /etc/bash_completion.d/kfadmin
# macOS:
$ kfadmin completion bash > /usr/local/etc/bash_completion.d/kfadmin
# If shell completion is not already enabled in your environment,
# you will need to enable it. You can execute the following once:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
# To load completions for each session, execute once:
$ kfadmin completion zsh > "${fpath[1]}/_kfadmin"
# You will need to start a new shell for this setup to take effect.
$ kfadmin completion fish | source
# To load completions for each session, execute once:
$ kfadmin completion fish > ~/.config/fish/completions/kfadmin.fish
PS> kfadmin completion powershell | Out-String | Invoke-Expression
# To load completions for every new session, run:
PS> kfadmin completion powershell > kfadmin.ps1
# and source this file from your PowerShell profile.