From fceabc5d5c019db1ec6ad264b0e5fa2aeedea83f Mon Sep 17 00:00:00 2001 From: desmax74 Date: Tue, 11 Jan 2022 14:45:08 +0100 Subject: [PATCH] [RHPAM-4115]Missing routes/custom-host permision for BA Operator Signed-off-by: desmax74 --- ...nessautomation-operator.clusterserviceversion.yaml | 11 ++++++----- ...nessautomation-operator.clusterserviceversion.yaml | 3 ++- ...nessautomation-operator.clusterserviceversion.yaml | 11 ++++++----- deploy/role.yaml | 1 + pkg/components/components.go | 1 + 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/deploy/olm-catalog/dev/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml b/deploy/olm-catalog/dev/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml index 99b1b1435..824ae9e66 100644 --- a/deploy/olm-catalog/dev/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml +++ b/deploy/olm-catalog/dev/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml @@ -7,7 +7,7 @@ metadata: categories: Integration & Delivery certified: "false" containerImage: quay.io/kiegroup/kie-cloud-operator:7.12.0 - createdAt: "2022-01-12 14:48:09" + createdAt: "2022-01-12 15:17:07" description: Deploys and manages Red Hat Process Automation Manager and Red Hat Decision Manager environments. operators.openshift.io/infrastructure-features: '["Disconnected"]' @@ -18,7 +18,7 @@ metadata: operator-businessautomation: "true" operatorframework.io/arch.amd64: supported operatorframework.io/os.linux: supported - name: businessautomation-operator.7.12.0-1-dev-ks627qb4hp + name: businessautomation-operator.7.12.0-1-dev-dwmlpnpfrn namespace: placeholder spec: apiservicedefinitions: {} @@ -313,6 +313,7 @@ spec: - route.openshift.io resources: - routes + - routes/custom-host verbs: - create - delete @@ -407,7 +408,7 @@ spec: - operator labels: alm-owner-businessautomation: businessautomation-operator - operated-by: businessautomation-operator.7.12.0-1-dev-ks627qb4hp + operated-by: businessautomation-operator.7.12.0-1-dev-dwmlpnpfrn links: - name: Product Page url: https://access.redhat.com/products/red-hat-process-automation-manager @@ -423,5 +424,5 @@ spec: selector: matchLabels: alm-owner-businessautomation: businessautomation-operator - operated-by: businessautomation-operator.7.12.0-1-dev-ks627qb4hp - version: 7.12.0-1+ks627qb4hp + operated-by: businessautomation-operator.7.12.0-1-dev-dwmlpnpfrn + version: 7.12.0-1+dwmlpnpfrn diff --git a/deploy/olm-catalog/prod/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml b/deploy/olm-catalog/prod/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml index dbcda410d..cce0842c9 100644 --- a/deploy/olm-catalog/prod/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml +++ b/deploy/olm-catalog/prod/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml @@ -7,7 +7,7 @@ metadata: categories: Integration & Delivery certified: "true" containerImage: registry.stage.redhat.io/rhpam-7/rhpam-rhel8-operator:7.12.0 - createdAt: "2022-01-12 14:48:09" + createdAt: "2022-01-12 15:17:07" description: Deploys and manages Red Hat Process Automation Manager and Red Hat Decision Manager environments. operators.openshift.io/infrastructure-features: '["Disconnected"]' @@ -313,6 +313,7 @@ spec: - route.openshift.io resources: - routes + - routes/custom-host verbs: - create - delete diff --git a/deploy/olm-catalog/test/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml b/deploy/olm-catalog/test/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml index 2150736b8..dfbc40f5b 100644 --- a/deploy/olm-catalog/test/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml +++ b/deploy/olm-catalog/test/7.12.0-1/manifests/businessautomation-operator.clusterserviceversion.yaml @@ -7,7 +7,7 @@ metadata: categories: Integration & Delivery certified: "true" containerImage: registry-proxy.engineering.redhat.com/rh-osbs/rhpam-7-rhpam-rhel8-operator:7.12.0 - createdAt: "2022-01-12 14:48:09" + createdAt: "2022-01-12 15:17:07" description: Deploys and manages Red Hat Process Automation Manager and Red Hat Decision Manager environments. operators.openshift.io/infrastructure-features: '["Disconnected"]' @@ -18,7 +18,7 @@ metadata: operator-businessautomation: "true" operatorframework.io/arch.amd64: supported operatorframework.io/os.linux: supported - name: businessautomation-operator.7.12.0-1-dev-sv797kxz62 + name: businessautomation-operator.7.12.0-1-dev-9sdl7qg8v4 namespace: placeholder spec: apiservicedefinitions: {} @@ -313,6 +313,7 @@ spec: - route.openshift.io resources: - routes + - routes/custom-host verbs: - create - delete @@ -407,7 +408,7 @@ spec: - operator labels: alm-owner-businessautomation: businessautomation-operator - operated-by: businessautomation-operator.7.12.0-1-dev-sv797kxz62 + operated-by: businessautomation-operator.7.12.0-1-dev-9sdl7qg8v4 links: - name: Product Page url: https://access.redhat.com/products/red-hat-process-automation-manager @@ -423,5 +424,5 @@ spec: selector: matchLabels: alm-owner-businessautomation: businessautomation-operator - operated-by: businessautomation-operator.7.12.0-1-dev-sv797kxz62 - version: 7.12.0-1+sv797kxz62 + operated-by: businessautomation-operator.7.12.0-1-dev-9sdl7qg8v4 + version: 7.12.0-1+9sdl7qg8v4 diff --git a/deploy/role.yaml b/deploy/role.yaml index a45ff718a..fec8fc400 100644 --- a/deploy/role.yaml +++ b/deploy/role.yaml @@ -69,6 +69,7 @@ rules: - route.openshift.io resources: - routes + - routes/custom-host verbs: - create - delete diff --git a/pkg/components/components.go b/pkg/components/components.go index 48006b3f4..8ff76f41c 100644 --- a/pkg/components/components.go +++ b/pkg/components/components.go @@ -235,6 +235,7 @@ func GetRole(operatorName string) *rbacv1.Role { }, Resources: []string{ "routes", + "routes/custom-host", }, Verbs: Verbs, },