Skip to content

Commit f66090f

Browse files
authored
fix: add missing common provider label (#29)
The provider label `cluster.x-k8s.io/provider` is required per cluster api's provider contracts. Fixes #28
1 parent df3503b commit f66090f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bootstrap/config/default/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ namespace: capi-k3s-bootstrap-system
99
namePrefix: capi-k3s-bootstrap-
1010

1111
# Labels to add to all resources and selectors.
12-
#commonLabels:
13-
# someName: someValue
12+
commonLabels:
13+
cluster.x-k8s.io/provider: "bootstrap-k3s"
1414

1515
bases:
1616
- ../crd

controlplane/config/default/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ namespace: capi-k3s-control-plane-system
99
namePrefix: capi-k3s-control-plane-
1010

1111
# Labels to add to all resources and selectors.
12-
#commonLabels:
13-
# someName: someValue
12+
commonLabels:
13+
cluster.x-k8s.io/provider: "control-plane-k3s"
1414

1515
bases:
1616
- ../crd

0 commit comments

Comments
 (0)