From 71bcb4a33ebc8d138c1027836c951b096ad19a39 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Tue, 28 Oct 2025 17:18:42 -0500 Subject: [PATCH] change ontime-operator namespace --- infrastructure/ontime-operator/deploy.yaml | 26 +++++++++------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/infrastructure/ontime-operator/deploy.yaml b/infrastructure/ontime-operator/deploy.yaml index 02eabd1..0b78f2e 100644 --- a/infrastructure/ontime-operator/deploy.yaml +++ b/infrastructure/ontime-operator/deploy.yaml @@ -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: