Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Revert "Add DSP Operator specific labels" (#834)
Browse files Browse the repository at this point in the history
Revert Add DSP Operator specific labels
  • Loading branch information
DharmitD authored Jun 2, 2023
1 parent e688896 commit 740934f
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 10 deletions.
5 changes: 3 additions & 2 deletions data-science-pipelines-operator/manager/manager-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ kind: Service
metadata:
name: service
labels:
app.kubernetes.io/name: data-science-pipelines-operator
control-plane: controller-manager
app.kubernetes.io/created-by: data-science-pipelines-operator
spec:
ports:
- name: metrics
port: 8080
selector:
app.kubernetes.io/name: data-science-pipelines-operator
control-plane: controller-manager
12 changes: 9 additions & 3 deletions data-science-pipelines-operator/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,24 @@ metadata:
name: controller-manager
namespace: datasciencepipelinesapplications-controller
labels:
app.kubernetes.io/name: data-science-pipelines-operator
control-plane: controller-manager
app.kubernetes.io/name: deployment
app.kubernetes.io/instance: controller-manager
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: data-science-pipelines-operator
app.kubernetes.io/part-of: data-science-pipelines-operator
spec:
selector:
matchLabels:
app.kubernetes.io/name: data-science-pipelines-operator
control-plane: controller-manager
replicas: 1
template:
metadata:
annotations:
kubectl.kubernetes.io/default-container: manager
labels:
app.kubernetes.io/name: data-science-pipelines-operator
control-plane: controller-manager
app.kubernetes.io/created-by: data-science-pipelines-operator
spec:
securityContext:
runAsNonRoot: true
Expand Down
2 changes: 1 addition & 1 deletion data-science-pipelines-operator/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ spec:
port: metrics
selector:
matchLabels:
app.kubernetes.io/name: data-science-pipelines-operator
control-plane: controller-manager
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
app.kubernetes.io/name: data-science-pipelines-operator
app.kubernetes.io/name: role
app.kubernetes.io/instance: leader-election-role
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: data-science-pipelines-operator
app.kubernetes.io/part-of: data-science-pipelines-operator
name: leader-election-role
rules:
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/name: data-science-pipelines-operator
app.kubernetes.io/name: rolebinding
app.kubernetes.io/instance: leader-election-rolebinding
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: data-science-pipelines-operator
app.kubernetes.io/part-of: data-science-pipelines-operator
name: leader-election-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
6 changes: 5 additions & 1 deletion data-science-pipelines-operator/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/name: data-science-pipelines-operator
app.kubernetes.io/name: clusterrolebinding
app.kubernetes.io/instance: manager-rolebinding
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: data-science-pipelines-operator
app.kubernetes.io/part-of: data-science-pipelines-operator
name: manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
6 changes: 5 additions & 1 deletion data-science-pipelines-operator/rbac/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/name: data-science-pipelines-operator
app.kubernetes.io/name: serviceaccount
app.kubernetes.io/instance: controller-manager
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: data-science-pipelines-operator
app.kubernetes.io/part-of: data-science-pipelines-operator
name: controller-manager
namespace: datasciencepipelinesapplications-controller

0 comments on commit 740934f

Please sign in to comment.