From 8f9d4fe734f135c0452e4455b00c21cb0e5ad989 Mon Sep 17 00:00:00 2001 From: Yann Brillouet Date: Thu, 13 Apr 2023 14:13:51 +0200 Subject: [PATCH] ROX-13092: fix eventrouter templates --- .../charts/logging/templates/02-eventrouter-01-rbac.yaml | 2 +- .../logging/templates/02-eventrouter-03-deployment.yaml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-01-rbac.yaml b/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-01-rbac.yaml index 75e0eac081..880a5b0e09 100644 --- a/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-01-rbac.yaml +++ b/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-01-rbac.yaml @@ -22,6 +22,6 @@ subjects: name: eventrouter namespace: openshift-logging roleRef: - aoiGroup: rbac.authorization.k8s.io + apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: event-reader diff --git a/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-03-deployment.yaml b/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-03-deployment.yaml index 6dd3a6d7ee..54b84952c7 100644 --- a/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-03-deployment.yaml +++ b/dp-terraform/helm/rhacs-terraform/charts/logging/templates/02-eventrouter-03-deployment.yaml @@ -10,9 +10,10 @@ metadata: spec: replicas: 1 selector: - component: "eventrouter" - logging-infra: "eventrouter" - provider: "openshift" + matchLabels: + component: "eventrouter" + logging-infra: "eventrouter" + provider: "openshift" template: metadata: labels: