Skip to content

Commit a71303b

Browse files
astefanuttiopenshift-merge-robot
authored andcommitted
Label resources following recommended k8s labels convention
1 parent 08fa9ed commit a71303b

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

Diff for: config/default/kustomization.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ namespace: openshift-operators
99
namePrefix: codeflare-operator-
1010

1111
# Labels to add to all resources and selectors.
12-
# commonLabels:
13-
# someName: someValue
12+
commonLabels:
13+
app.kubernetes.io/name: codeflare-operator
14+
app.kubernetes.io/part-of: codeflare
1415

1516
bases:
1617
- ../crd

Diff for: config/manager/manager.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
apiVersion: v1
22
kind: Namespace
33
metadata:
4-
labels:
5-
control-plane: controller-manager
64
name: system
75
---
86
apiVersion: apps/v1
97
kind: Deployment
108
metadata:
119
name: manager
1210
namespace: system
13-
labels:
14-
control-plane: controller-manager
1511
spec:
1612
selector:
1713
matchLabels:

Diff for: config/prometheus/monitor.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
apiVersion: monitoring.coreos.com/v1
33
kind: ServiceMonitor
44
metadata:
5-
labels:
6-
control-plane: controller-manager
75
name: manager-metrics
86
namespace: system
97
spec:

Diff for: config/rbac/auth_proxy_service.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
labels:
5-
control-plane: controller-manager
64
name: manager-metrics
75
namespace: system
86
spec:

0 commit comments

Comments
 (0)