Skip to content

Commit

Permalink
Merge pull request #721 from desmax74/RHPAM-4115
Browse files Browse the repository at this point in the history
[RHPAM-4115] Missing routes/custom-host permision for BA Operator
  • Loading branch information
openshift-merge-robot authored Jan 12, 2022
2 parents 9783785 + fceabc5 commit 0e71f88
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
Expand All @@ -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: {}
Expand Down Expand Up @@ -313,6 +313,7 @@ spec:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- create
- delete
Expand Down Expand Up @@ -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
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
Expand Down Expand Up @@ -313,6 +313,7 @@ spec:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- create
- delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
Expand All @@ -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: {}
Expand Down Expand Up @@ -313,6 +313,7 @@ spec:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- create
- delete
Expand Down Expand Up @@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ rules:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- create
- delete
Expand Down
1 change: 1 addition & 0 deletions pkg/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func GetRole(operatorName string) *rbacv1.Role {
},
Resources: []string{
"routes",
"routes/custom-host",
},
Verbs: Verbs,
},
Expand Down

0 comments on commit 0e71f88

Please sign in to comment.