change ontime-operator namespace

This commit is contained in:
2025-10-28 17:18:42 -05:00
parent 8d008b14ba
commit 71bcb4a33e

View File

@@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: ontime-operator
control-plane: controller-manager
name: ontime-operator-system
name: ontime-operator
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
@@ -58,7 +58,7 @@ metadata:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: ontime-operator
name: ontime-operator-controller-manager
namespace: ontime-operator-system
namespace: ontime-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
@@ -67,7 +67,7 @@ metadata:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: ontime-operator
name: ontime-operator-leader-election-role
namespace: ontime-operator-system
namespace: ontime-operator
rules:
- apiGroups:
- ""
@@ -141,8 +141,8 @@ rules:
- apiGroups:
- ""
resources:
- serviceaccounts
- services
- persistentvolumeclaims
verbs:
- '*'
- apiGroups:
@@ -157,12 +157,6 @@ rules:
- ingresses
verbs:
- '*'
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@@ -270,7 +264,7 @@ metadata:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: ontime-operator
name: ontime-operator-leader-election-rolebinding
namespace: ontime-operator-system
namespace: ontime-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
@@ -278,7 +272,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: ontime-operator-controller-manager
namespace: ontime-operator-system
namespace: ontime-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
@@ -294,7 +288,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: ontime-operator-controller-manager
namespace: ontime-operator-system
namespace: ontime-operator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
@@ -307,7 +301,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: ontime-operator-controller-manager
namespace: ontime-operator-system
namespace: ontime-operator
---
apiVersion: v1
kind: Service
@@ -317,7 +311,7 @@ metadata:
app.kubernetes.io/name: ontime-operator
control-plane: controller-manager
name: ontime-operator-controller-manager-metrics-service
namespace: ontime-operator-system
namespace: ontime-operator
spec:
ports:
- name: https
@@ -336,7 +330,7 @@ metadata:
app.kubernetes.io/name: ontime-operator
control-plane: controller-manager
name: ontime-operator-controller-manager
namespace: ontime-operator-system
namespace: ontime-operator
spec:
replicas: 1
selector: