Skip to content

Commit dcaa5fa

Browse files
authored
Ensure Secret with OpenStack cloud credentails (clouds.yaml) is migrated during clusterctl move (#12)
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
1 parent 2ad2e0d commit dcaa5fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/cloud-secret.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ apiVersion: v1
22
kind: Secret
33
metadata:
44
name: {{ include "cloud_name" . }}
5+
labels:
6+
# Ensure that the Secret is transferred to the target cluster during a `clusterctl move`
7+
clusterctl.cluster.x-k8s.io/move: ""
58
data:
69
cloudName: {{ include "cloud_name" . | b64enc }}
710
clouds.yaml: {{ toYaml .Values | b64enc }}

0 commit comments

Comments
 (0)