Skip to content

Commit

Permalink
Merge pull request #187 from lreciomelero/fix/Add_label_to_controlplane
Browse files Browse the repository at this point in the history
Added label to kubeadmconfigtemplate
  • Loading branch information
esierra-stratio authored Jun 29, 2023
2 parents 19b3060 + 12e2581 commit 570c257
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ spec:
postKubeadmCommands: []
preKubeadmCommands: []
machineTemplate:
metadata:
labels:
keos.stratio.com/machine-role: "{{ $.Descriptor.ClusterID }}-control-plane-node"
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: AzureMachineTemplate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
machineTemplate:
metadata:
labels:
keos.stratio.com/machine-role: "{{ $.Descriptor.ClusterID }}-control-plane-node"
keos.stratio.com/machine-role: "{{ .Descriptor.ClusterID }}-control-plane-node"
infrastructureRef:
kind: GCPMachineTemplate
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
Expand Down

0 comments on commit 570c257

Please sign in to comment.