Skip to content

Commit c7ff912

Browse files
committed
Add force move of secret cloud config
1 parent 60f5a4c commit c7ff912

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

templates/cluster-template-external-cloud-provider.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ apiVersion: v1
137137
kind: Secret
138138
metadata:
139139
name: ${CLUSTER_NAME}-cloud-config
140+
labels:
141+
clusterctl.cluster.x-k8s.io/move: "true"
140142
data:
141143
clouds.yaml: ${OPENSTACK_CLOUD_YAML_B64}
142144
cacert: ${OPENSTACK_CLOUD_CACERT_B64}

templates/cluster-template-without-lb.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ apiVersion: v1
178178
kind: Secret
179179
metadata:
180180
name: ${CLUSTER_NAME}-cloud-config
181+
labels:
182+
clusterctl.cluster.x-k8s.io/move: "true"
181183
data:
182184
clouds.yaml: ${OPENSTACK_CLOUD_YAML_B64}
183185
cacert: ${OPENSTACK_CLOUD_CACERT_B64}

templates/cluster-template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ apiVersion: v1
177177
kind: Secret
178178
metadata:
179179
name: ${CLUSTER_NAME}-cloud-config
180+
labels:
181+
clusterctl.cluster.x-k8s.io/move: "true"
180182
data:
181183
clouds.yaml: ${OPENSTACK_CLOUD_YAML_B64}
182184
cacert: ${OPENSTACK_CLOUD_CACERT_B64}

0 commit comments

Comments
 (0)