Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 9573874

Browse files
committed
deploy/operator: remove newly added app label from selector list
Adding this label breaks operator upgrades using OLM, as the previous (v0.9.x) versions do not have this label that results in mismatched label selector.
1 parent 38c42b0 commit 9573874

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

deploy/kustomize/operator/operator.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ metadata:
119119
spec:
120120
selector:
121121
name: pmem-csi-operator
122-
app: pmem-csi-operator
123122
ports:
124123
- port: 8080
125124
targetPort: 8080
@@ -134,7 +133,6 @@ spec:
134133
selector:
135134
matchLabels:
136135
name: pmem-csi-operator
137-
app: pmem-csi-operator
138136
template:
139137
metadata:
140138
labels:

deploy/operator/pmem-csi-operator.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ spec:
150150
- port: 8080
151151
targetPort: 8080
152152
selector:
153-
app: pmem-csi-operator
154153
name: pmem-csi-operator
155154
---
156155
apiVersion: apps/v1
@@ -162,7 +161,6 @@ spec:
162161
replicas: 1
163162
selector:
164163
matchLabels:
165-
app: pmem-csi-operator
166164
name: pmem-csi-operator
167165
template:
168166
metadata:

0 commit comments

Comments
 (0)