Skip to content

Commit

Permalink
Make the managementClusterName required and set the cloud config enab…
Browse files Browse the repository at this point in the history
…led to always be true
  • Loading branch information
kylewuolle committed Jan 10, 2025
1 parent 4fabab9 commit e46b0d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
- --allocate-node-cidrs=true
- --cluster-name={{ include "cluster.name" . }}
cloudConfig:
enabled: {{ ne .Values.managementClusterName "" }}
enabled: true
global:
KubernetesClusterID: {{ .Values.managementClusterName }}
# Removing the default `node-role.kubernetes.io/control-plane` node selector
Expand Down
3 changes: 2 additions & 1 deletion templates/cluster/aws-hosted-cp/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"iamInstanceProfile",
"instanceType",
"securityGroupIDs",
"clusterIdentity"
"clusterIdentity",
"managementClusterName"
],
"properties": {
"managementClusterName" : {
Expand Down

0 comments on commit e46b0d4

Please sign in to comment.