Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
6db6c867
Unverified
Commit
6db6c867
authored
2 years ago
by
Cristian Calin
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
disable kubelet_authorization_mode_webhook by default (#9238)
parent
5603f9f3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/hardening.md
+0
-1
0 additions, 1 deletion
docs/hardening.md
roles/kubespray-defaults/defaults/main.yaml
+1
-1
1 addition, 1 deletion
roles/kubespray-defaults/defaults/main.yaml
with
1 addition
and
2 deletions
docs/hardening.md
+
0
−
1
View file @
6db6c867
...
@@ -74,7 +74,6 @@ kube_kubeadm_scheduler_extra_args:
...
@@ -74,7 +74,6 @@ kube_kubeadm_scheduler_extra_args:
etcd_deployment_type
:
kubeadm
etcd_deployment_type
:
kubeadm
## kubelet
## kubelet
kubelet_authorization_mode_webhook
:
true
kubelet_authentication_token_webhook
:
true
kubelet_authentication_token_webhook
:
true
kube_read_only_port
:
0
kube_read_only_port
:
0
kubelet_rotate_server_certificates
:
true
kubelet_rotate_server_certificates
:
true
...
...
This diff is collapsed.
Click to expand it.
roles/kubespray-defaults/defaults/main.yaml
+
1
−
1
View file @
6db6c867
...
@@ -474,7 +474,7 @@ rbac_enabled: "{{ 'RBAC' in authorization_modes }}"
...
@@ -474,7 +474,7 @@ rbac_enabled: "{{ 'RBAC' in authorization_modes }}"
kubelet_authentication_token_webhook
:
true
kubelet_authentication_token_webhook
:
true
# When enabled, access to the kubelet API requires authorization by delegation to the API server
# When enabled, access to the kubelet API requires authorization by delegation to the API server
kubelet_authorization_mode_webhook
:
tru
e
kubelet_authorization_mode_webhook
:
fals
e
# kubelet uses certificates for authenticating to the Kubernetes API
# kubelet uses certificates for authenticating to the Kubernetes API
# Automatically generate a new key and request a new certificate from the Kubernetes API as the current certificate approaches expiration
# Automatically generate a new key and request a new certificate from the Kubernetes API as the current certificate approaches expiration
...
...
This diff is collapsed.
Click to expand it.
Дмитрий Сафронов
@zimniy
mentioned in commit
4a6eb7ea
·
2 years ago
mentioned in commit
4a6eb7ea
mentioned in commit 4a6eb7eaa2b96bf34ac35fc536d90726e4bca19b
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment