Skip to content

Commit

Permalink
operator: add differentiation label
Browse files Browse the repository at this point in the history
Add one device plugin specific label to differentiate our operator
from all the possible operators within same namespace.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
  • Loading branch information
tkatila committed Mar 20, 2024
1 parent 52be7ed commit 6a4434b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployments/operator/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Namespace
metadata:
labels:
control-plane: controller-manager
manager: intel-deviceplugin-operator
name: system
---
apiVersion: apps/v1
Expand All @@ -12,15 +13,18 @@ metadata:
namespace: system
labels:
control-plane: controller-manager
manager: intel-deviceplugin-operator
spec:
selector:
matchLabels:
control-plane: controller-manager
manager: intel-deviceplugin-operator
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
manager: intel-deviceplugin-operator
spec:
containers:
- image: docker.io/intel/intel-deviceplugin-operator:devel
Expand Down
1 change: 1 addition & 0 deletions deployments/operator/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ spec:
targetPort: https
selector:
control-plane: controller-manager
manager: intel-deviceplugin-operator

0 comments on commit 6a4434b

Please sign in to comment.