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