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
9f01effa
Unverified
Commit
9f01effa
authored
3 months ago
by
ERIK
Committed by
GitHub
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
add encryptionAlgorithm for ClusterConfigration (#11751)
Signed-off-by:
bo.jiang
<
bo.jiang@daocloud.io
>
parent
e1ab3122
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
roles/kubernetes/control-plane/defaults/main/main.yml
+5
-0
5 additions, 0 deletions
roles/kubernetes/control-plane/defaults/main/main.yml
roles/kubernetes/control-plane/templates/kubeadm-config.v1beta4.yaml.j2
+1
-0
1 addition, 0 deletions
...es/control-plane/templates/kubeadm-config.v1beta4.yaml.j2
with
6 additions
and
0 deletions
roles/kubernetes/control-plane/defaults/main/main.yml
+
5
−
0
View file @
9f01effa
...
...
@@ -236,3 +236,8 @@ kube_apiserver_tracing_sampling_rate_per_million: 100
# Enable kubeadm file discovery if anonymous access has been removed
kubeadm_use_file_discovery
:
"
{{
remove_anonymous_access
}}"
# Supported asymmetric encryption algorithm types for the cluster's keys and certificates.
# can be one of RSA-2048(default), RSA-3072, RSA-4096, ECDSA-P256
# ref: https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/#kubeadm-k8s-io-v1beta4-ClusterConfiguration
kube_asymmetric_encryption_algorithm
:
"
RSA-2048"
This diff is collapsed.
Click to expand it.
roles/kubernetes/control-plane/templates/kubeadm-config.v1beta4.yaml.j2
+
1
−
0
View file @
9f01effa
...
...
@@ -37,6 +37,7 @@ patches:
apiVersion: kubeadm.k8s.io/v1beta4
kind: ClusterConfiguration
clusterName: {{ cluster_name }}
encryptionAlgorithm: {{ kube_asymmetric_encryption_algorithm }}
etcd:
{% if etcd_deployment_type != "kubeadm" %}
external:
...
...
This diff is collapsed.
Click to expand it.
Дмитрий Сафронов
@zimniy
mentioned in commit
f8347148
·
3 months ago
mentioned in commit
f8347148
mentioned in commit f83471484d5cd6cfa9e3b9953d1b23ad36b6316f
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