Skip to content

Commit

Permalink
Merge pull request #22 from abays/ctrl_mgr_labels
Browse files Browse the repository at this point in the history
Ctrl manager labels for webhooks and logging
  • Loading branch information
openshift-merge-robot authored Jul 20, 2023
2 parents 5fe786b + 29a604f commit f8581f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
14 changes: 6 additions & 8 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: swift-controller-manager
control-plane: controller-manager
name: system
---
apiVersion: apps/v1
Expand All @@ -11,22 +11,20 @@ metadata:
name: controller-manager
namespace: system
labels:
control-plane: swift-controller-manager
app.kubernetes.io/name: swift-operator
app.kubernetes.io/component: swift
control-plane: controller-manager
openstack.org/operator-name: swift
spec:
selector:
matchLabels:
control-plane: swift-controller-manager
openstack.org/operator-name: swift
replicas: 1
template:
metadata:
annotations:
kubectl.kubernetes.io/default-container: manager
labels:
control-plane: swift-controller-manager
app.kubernetes.io/name: swift-operator
app.kubernetes.io/component: swift
control-plane: controller-manager
openstack.org/operator-name: swift
spec:
securityContext:
runAsNonRoot: true
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ spec:
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
openstack.org/operator-name: swift
2 changes: 1 addition & 1 deletion config/webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
protocol: TCP
targetPort: 9443
selector:
control-plane: swift-controller-manager
openstack.org/operator-name: swift

0 comments on commit f8581f6

Please sign in to comment.