Prevent conflict of kdt certs for CFG and KDT nodes
Change-Id: I4b8b9d7d30cd39ae4619b88406b0e891fb8b0d69
Related-prod: #PROD-28243 (PROD:28243)
diff --git a/salt/minion/cert/kdt_k8s_client_single.yml b/salt/minion/cert/kdt_k8s_client_single.yml
index 4d6cbcc..d84dfcf 100644
--- a/salt/minion/cert/kdt_k8s_client_single.yml
+++ b/salt/minion/cert/kdt_k8s_client_single.yml
@@ -11,7 +11,7 @@
common_name: system:node:${linux:system:name}
organization_name: system:nodes
signing_policy: cert_client
- alternative_names: IP:${_param:kdt_control_address},IP:${_param:kdt_k8s_internal_api_address}
+ alternative_names: IP:${_param:single_address},IP:${_param:kdt_k8s_internal_api_address}
kdt_k8s_client_fqdn:
host: ${_param:salt_minion_ca_host}
authority: ${_param:salt_minion_ca_authority}
@@ -21,7 +21,7 @@
common_name: system:node:${linux:system:name}.${_param:cluster_domain}
organization_name: system:nodes
signing_policy: cert_client
- alternative_names: IP:${_param:kdt_control_address},IP:${_param:kdt_k8s_internal_api_address}
+ alternative_names: IP:${_param:single_address},IP:${_param:kdt_k8s_internal_api_address}
kdt_k8s_proxy:
host: ${_param:salt_minion_ca_host}
authority: ${_param:salt_minion_ca_authority}
@@ -30,7 +30,7 @@
ca_file: /etc/kubernetes/ssl/ca-kubernetes.crt
common_name: system:kube-proxy
signing_policy: cert_client
- alternative_names: IP:${_param:kdt_control_address},IP:${_param:kdt_k8s_internal_api_address}
+ alternative_names: IP:${_param:single_address},IP:${_param:kdt_k8s_internal_api_address}
kdt_k8s_scheduler:
host: ${_param:salt_minion_ca_host}
authority: ${_param:salt_minion_ca_authority}
@@ -39,7 +39,7 @@
ca_file: /etc/kubernetes/ssl/ca-kubernetes.crt
common_name: system:kube-scheduler
signing_policy: cert_client
- alternative_names: IP:${_param:kdt_control_address},IP:${_param:kdt_k8s_internal_api_address}
+ alternative_names: IP:${_param:single_address},IP:${_param:kdt_k8s_internal_api_address}
kdt_k8s_controller_manager:
host: ${_param:salt_minion_ca_host}
authority: ${_param:salt_minion_ca_authority}
@@ -48,7 +48,7 @@
ca_file: /etc/kubernetes/ssl/ca-kubernetes.crt
common_name: system:kube-controller-manager
signing_policy: cert_client
- alternative_names: IP:${_param:kdt_control_address},IP:${_param:kdt_k8s_internal_api_address}
+ alternative_names: IP:${_param:single_address},IP:${_param:kdt_k8s_internal_api_address}
kdt_k8s_aggregator_proxy:
host: ${_param:salt_minion_ca_host}
authority: ${_param:salt_minion_ca_authority}
@@ -57,4 +57,4 @@
ca_file: /etc/kubernetes/ssl/ca-kubernetes.crt
common_name: system:kube-controller-manager
signing_policy: cert_client
- alternative_names: IP:${_param:kdt_control_address},IP:${_param:kdt_k8s_internal_api_address}
+ alternative_names: IP:${_param:single_address},IP:${_param:kdt_k8s_internal_api_address}