Skip to content

Commit 03179ef

Browse files
tbabejwikkyk
authored andcommitted
cluster-template-external-creds: Fix name of the Secret
When using the `cluster-template-external-creds` template with `clusterctl`, the following error is obtained: ``` Error: failed to parse yaml: failed to unmarshal the 3rd yaml document: "apiVersion: v1\nstringData:\n secret: REDACTED\n token: REDACTED\n url: https://REDACTED:8006\nkind: Secret\nmetadata:\n name: \"kind-monk2\"-proxmox-credentials\n labels:\n platform.ionos.com/secret-type: \"proxmox-credentials\"\n": error converting YAML to JSON: yaml: line 7: did not find expected key ``` Fixing the `name` key as outlined by this commit resolves the issue.
1 parent 59250f8 commit 03179ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cluster-template-external-creds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ stringData:
4040
url: ${PROXMOX_URL}
4141
kind: Secret
4242
metadata:
43-
name: "${CLUSTER_NAME}"-proxmox-credentials
43+
name: "${CLUSTER_NAME}-proxmox-credentials"
4444
labels:
4545
platform.ionos.com/secret-type: "proxmox-credentials"
4646
---

0 commit comments

Comments
 (0)