Skip to content

Commit cefb9e9

Browse files
authored
Merge pull request #1292 from bdunne/upgrade_labels
Revert label changes from operator-sdk upgrade
2 parents 667ea2c + 4def51f commit cefb9e9

File tree

5 files changed

+11
-22
lines changed

5 files changed

+11
-22
lines changed

manageiq-operator/config/default/metrics_service.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
labels:
5-
control-plane: controller-manager
6-
app.kubernetes.io/name: manageiq-operator
7-
app.kubernetes.io/managed-by: kustomize
5+
name: manageiq-operator
86
name: controller-manager-metrics-service
97
namespace: system
108
spec:
@@ -14,5 +12,4 @@ spec:
1412
protocol: TCP
1513
targetPort: 8443
1614
selector:
17-
control-plane: controller-manager
18-
app.kubernetes.io/name: manageiq-operator
15+
name: manageiq-operator

manageiq-operator/config/manager/manager.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,16 @@ metadata:
44
name: manageiq-operator
55
namespace: system
66
labels:
7-
control-plane: controller-manager
8-
app.kubernetes.io/name: memcached-operator
9-
app.kubernetes.io/managed-by: kustomize
7+
name: memcached-operator
108
spec:
119
selector:
1210
matchLabels:
13-
control-plane: controller-manager
14-
app.kubernetes.io/name: manageiq-operator
11+
name: manageiq-operator
1512
replicas: 1
1613
template:
1714
metadata:
18-
annotations:
19-
kubectl.kubernetes.io/default-container: manager
2015
labels:
21-
control-plane: controller-manager
22-
app.kubernetes.io/name: manageiq-operator
16+
name: manageiq-operator
2317
spec:
2418
affinity:
2519
nodeAffinity:

manageiq-operator/config/network-policy/allow-metrics-traffic.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ apiVersion: networking.k8s.io/v1
55
kind: NetworkPolicy
66
metadata:
77
labels:
8-
app.kubernetes.io/name: <operator-name>
9-
app.kubernetes.io/managed-by: kustomize
8+
name: manageiq-operator
109
name: allow-metrics-traffic
1110
namespace: system
1211
spec:
1312
podSelector:
1413
matchLabels:
15-
control-plane: controller-manager
14+
name: manageiq-operator
1615
policyTypes:
1716
- Ingress
1817
ingress:

manageiq-operator/config/network-policy/allow-webhook-traffic.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ apiVersion: networking.k8s.io/v1
55
kind: NetworkPolicy
66
metadata:
77
labels:
8-
app.kubernetes.io/name: <operator-name>
9-
app.kubernetes.io/managed-by: kustomize
8+
name: manageiq-operator
109
name: allow-webhook-traffic
1110
namespace: system
1211
spec:
1312
podSelector:
1413
matchLabels:
15-
control-plane: controller-manager
14+
name: manageiq-operator
1615
policyTypes:
1716
- Ingress
1817
ingress:

manageiq-operator/config/prometheus/monitor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
33
kind: ServiceMonitor
44
metadata:
55
labels:
6-
control-plane: controller-manager
6+
name: manageiq-operator
77
name: controller-manager-metrics-monitor
88
namespace: system
99
spec:
@@ -21,4 +21,4 @@ spec:
2121
insecureSkipVerify: true
2222
selector:
2323
matchLabels:
24-
control-plane: controller-manager
24+
name: manageiq-operator

0 commit comments

Comments
 (0)