Skip to content

Commit

Permalink
add component label for k0smotron cluster, so that etcd selector does…
Browse files Browse the repository at this point in the history
…n't match wrong pods

Signed-off-by: Michael Schmid <michael@amazee.com>
  • Loading branch information
Schnitzel committed May 25, 2024
1 parent 0071679 commit f3c4bed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/k0smotron.io/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func labelsForCluster(kmc *km.Cluster) map[string]string {
for k, v := range kmc.Labels {
labels[k] = v
}
labels["component"] = "cluster"
return labels
}

Expand Down

0 comments on commit f3c4bed

Please sign in to comment.