Skip to content

Commit

Permalink
Revert "add encryptionAlgorithm for ClusterConfigration (#11751)" (#1…
Browse files Browse the repository at this point in the history
…1756)

This reverts commit b1b782d.
  • Loading branch information
ErikJiang authored Nov 28, 2024
1 parent b1b782d commit e56add8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions roles/kubernetes/control-plane/defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,3 @@ 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"
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ patches:
apiVersion: kubeadm.k8s.io/v1beta4
kind: ClusterConfiguration
clusterName: {{ cluster_name }}
encryptionAlgorithm: {{ kube_asymmetric_encryption_algorithm }}
etcd:
{% if etcd_deployment_type != "kubeadm" %}
external:
Expand Down

0 comments on commit e56add8

Please sign in to comment.