Disable basic and token auth by default
This commit is contained in:
parent
fe4ba51d1a
commit
cf43fb697f
3 changed files with 9 additions and 5 deletions
|
@ -93,7 +93,8 @@ the Kubernetes [documentation](https://kubernetes.io/docs/tasks/access-applicati
|
||||||
Accessing Kubernetes Dashboard
|
Accessing Kubernetes Dashboard
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
If the variable `dashboard_enabled` is set (default is true), then you can
|
If the variable `dashboard_enabled` is set (default is true) as well as
|
||||||
|
kube_basic_auth (default is false), then you can
|
||||||
access the Kubernetes Dashboard at the following URL:
|
access the Kubernetes Dashboard at the following URL:
|
||||||
|
|
||||||
https://kube:_kube-password_@_host_:6443/ui/
|
https://kube:_kube-password_@_host_:6443/ui/
|
||||||
|
@ -102,6 +103,9 @@ To see the password, refer to the section above, titled *Connecting to
|
||||||
Kubernetes*. The host can be any kube-master or kube-node or loadbalancer
|
Kubernetes*. The host can be any kube-master or kube-node or loadbalancer
|
||||||
(when enabled).
|
(when enabled).
|
||||||
|
|
||||||
|
To access the Dashboard with basic auth disabled, follow the instructions here:
|
||||||
|
https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#command-line-proxy
|
||||||
|
|
||||||
Accessing Kubernetes API
|
Accessing Kubernetes API
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,8 @@ kube_users:
|
||||||
|
|
||||||
## It is possible to activate / deactivate selected authentication methods (basic auth, static token auth)
|
## It is possible to activate / deactivate selected authentication methods (basic auth, static token auth)
|
||||||
#kube_oidc_auth: false
|
#kube_oidc_auth: false
|
||||||
#kube_basic_auth: true
|
#kube_basic_auth: false
|
||||||
#kube_token_auth: true
|
#kube_token_auth: false
|
||||||
|
|
||||||
|
|
||||||
## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
|
## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
|
||||||
|
|
|
@ -46,8 +46,8 @@ kube_apiserver_admission_control:
|
||||||
- ResourceQuota
|
- ResourceQuota
|
||||||
|
|
||||||
## Enable/Disable Kube API Server Authentication Methods
|
## Enable/Disable Kube API Server Authentication Methods
|
||||||
kube_basic_auth: true
|
kube_basic_auth: false
|
||||||
kube_token_auth: true
|
kube_token_auth: false
|
||||||
kube_oidc_auth: false
|
kube_oidc_auth: false
|
||||||
|
|
||||||
## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
|
## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
|
||||||
|
|
Loading…
Reference in a new issue