Skip to content

Commit 37e5864

Browse files
committed
Remove calico_kube_controllers_tag label
This has not been in-use since Change I902009c792125c55313b1d512f531f613b424af5 Change-Id: Ie5ca9892baad3c5a00ab16ef00d358f637a257df
1 parent 1a47a68 commit 37e5864

File tree

6 files changed

+2
-20
lines changed

6 files changed

+2
-20
lines changed

magnum/drivers/common/templates/kubernetes/fragments/write-heat-params-master.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ DNS_CLUSTER_DOMAIN="$DNS_CLUSTER_DOMAIN"
100100
CERT_MANAGER_API="$CERT_MANAGER_API"
101101
CA_KEY="$CA_KEY"
102102
CALICO_TAG="$CALICO_TAG"
103-
CALICO_KUBE_CONTROLLERS_TAG="$CALICO_KUBE_CONTROLLERS_TAG"
104103
CALICO_IPV4POOL="$CALICO_IPV4POOL"
105104
CALICO_IPV4POOL_IPIP="$CALICO_IPV4POOL_IPIP"
106105
INGRESS_CONTROLLER="$INGRESS_CONTROLLER"

magnum/drivers/heat/k8s_coreos_template_def.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_params(self, context, cluster_template, cluster, **kwargs):
6161
'kube_tag', 'container_infra_prefix',
6262
'availability_zone',
6363
'calico_tag',
64-
'calico_kube_controllers_tag', 'calico_ipv4pool',
64+
'calico_ipv4pool',
6565
'calico_ipv4pool_ipip',
6666
'etcd_tag', 'flannel_tag']
6767

magnum/drivers/heat/k8s_fedora_template_def.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_params(self, context, cluster_template, cluster, **kwargs):
8383
'containerd_tarball_url',
8484
'containerd_tarball_sha256',
8585
'calico_tag',
86-
'calico_kube_controllers_tag', 'calico_ipv4pool',
86+
'calico_ipv4pool',
8787
'calico_ipv4pool_ipip',
8888
'cinder_csi_enabled', 'cinder_csi_plugin_tag',
8989
'csi_attacher_tag', 'csi_provisioner_tag',

magnum/drivers/k8s_fedora_coreos_v1/templates/kubecluster.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,11 +585,6 @@ parameters:
585585
description: tag of the calico containers used to provision the calico node
586586
default: v3.21.2
587587

588-
calico_kube_controllers_tag:
589-
type: string
590-
description: tag of the kube_controllers used to provision the calico node
591-
default: v1.0.3
592-
593588
calico_ipv4pool:
594589
type: string
595590
description: Configure the IP pool from which Pod IPs will be chosen
@@ -1320,7 +1315,6 @@ resources:
13201315
ca_key: {get_param: ca_key}
13211316
cert_manager_api: {get_param: cert_manager_api}
13221317
calico_tag: {get_param: calico_tag}
1323-
calico_kube_controllers_tag: {get_param: calico_kube_controllers_tag}
13241318
calico_ipv4pool: {get_param: calico_ipv4pool}
13251319
calico_ipv4pool_ipip: {get_param: calico_ipv4pool_ipip}
13261320
pods_network_cidr: {get_param: pods_network_cidr}

magnum/drivers/k8s_fedora_coreos_v1/templates/kubemaster.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@ parameters:
373373
type: string
374374
description: tag of the calico containers used to provision the calico node
375375

376-
calico_kube_controllers_tag:
377-
type: string
378-
description: tag of the kube_controllers used to provision the calico node
379-
380376
calico_ipv4pool:
381377
type: string
382378
description: Configure the IP pool from which Pod IPs will be chosen
@@ -847,7 +843,6 @@ resources:
847843
"$CERT_MANAGER_API": {get_param: cert_manager_api}
848844
"$CA_KEY": {get_param: ca_key}
849845
"$CALICO_TAG": {get_param: calico_tag}
850-
"$CALICO_KUBE_CONTROLLERS_TAG": {get_param: calico_kube_controllers_tag}
851846
"$CALICO_IPV4POOL": {get_param: calico_ipv4pool}
852847
"$CALICO_IPV4POOL_IPIP": {get_param: calico_ipv4pool_ipip}
853848
"$INGRESS_CONTROLLER": {get_param: ingress_controller}

magnum/tests/unit/drivers/test_template_definition.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,6 @@ def test_k8s_get_params(self, mock_generate_csr_and_key,
423423
cert_manager_api = mock_cluster.labels.get('cert_manager_api')
424424
calico_tag = mock_cluster.labels.get(
425425
'calico_tag')
426-
calico_kube_controllers_tag = mock_cluster.labels.get(
427-
'calico_kube_controllers_tag')
428426
calico_ipv4pool = mock_cluster.labels.get(
429427
'calico_ipv4pool')
430428
calico_ipv4pool_ipip = mock_cluster.labels.get(
@@ -602,7 +600,6 @@ def test_k8s_get_params(self, mock_generate_csr_and_key,
602600
'availability_zone': availability_zone,
603601
'cert_manager_api': cert_manager_api,
604602
'calico_tag': calico_tag,
605-
'calico_kube_controllers_tag': calico_kube_controllers_tag,
606603
'calico_ipv4pool': calico_ipv4pool,
607604
'calico_ipv4pool_ipip': calico_ipv4pool_ipip,
608605
'cgroup_driver': cgroup_driver,
@@ -977,8 +974,6 @@ def test_k8s_get_params_insecure(self, mock_generate_csr_and_key,
977974
cert_manager_api = mock_cluster.labels.get('cert_manager_api')
978975
calico_tag = mock_cluster.labels.get(
979976
'calico_tag')
980-
calico_kube_controllers_tag = mock_cluster.labels.get(
981-
'calico_kube_controllers_tag')
982977
calico_ipv4pool = mock_cluster.labels.get(
983978
'calico_ipv4pool')
984979
calico_ipv4pool_ipip = mock_cluster.labels.get(
@@ -1160,7 +1155,6 @@ def test_k8s_get_params_insecure(self, mock_generate_csr_and_key,
11601155
'availability_zone': availability_zone,
11611156
'cert_manager_api': cert_manager_api,
11621157
'calico_tag': calico_tag,
1163-
'calico_kube_controllers_tag': calico_kube_controllers_tag,
11641158
'calico_ipv4pool': calico_ipv4pool,
11651159
'calico_ipv4pool_ipip': calico_ipv4pool_ipip,
11661160
'cgroup_driver': cgroup_driver,

0 commit comments

Comments
 (0)