Skip to content

Commit

Permalink
Forgot to disable route template in the main exporter file
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Sauer <[email protected]>
  • Loading branch information
etsauer committed Sep 10, 2024
1 parent 4e6606e commit 5710c13
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 62 deletions.
1 change: 0 additions & 1 deletion charts/pelorus/charts/exporters/templates/exporters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
{{- end}}
{{ include "exporters.imagestream_from_image" $exporter }}
{{- end }}
{{ include "exporters.route" $exporter }}
{{ include "exporters.service" $exporter }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ metadata:
categories: |
Modernization & Migration,Developer Tools,Monitoring,Integration & Delivery
containerImage: quay.io/pelorus/pelorus-operator:0.0.10-rc.4
createdAt: "2024-09-10T13:52:36Z"
createdAt: "2024-09-10T13:59:23Z"
description: |
Tool that helps IT organizations measure their impact on the overall performance of their organization
operatorframework.io/suggested-namespace: pelorus
Expand Down Expand Up @@ -204,39 +204,54 @@ spec:
- update
- watch
- apiGroups:
- ""
- rbac.authorization.k8s.io
resources:
- pods
- services
- services/finalizers
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
- clusterrolebindings
- clusterroles
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- '*'
- apiGroups:
- rbac.authorization.k8s.io
resources:
- rolebindings
- roles
verbs:
- '*'
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- '*'
- apiGroups:
- image.openshift.io
resources:
- imagestreams
verbs:
- '*'
- apiGroups:
- monitoring.coreos.com
resources:
- prometheuses
- prometheusrules
- servicemonitors
verbs:
- '*'
- apiGroups:
- route.openshift.io
resources:
- routes
verbs:
- '*'
- apiGroups:
- ""
resources:
- configmaps
- secrets
- serviceaccounts
- services
verbs:
- '*'
- apiGroups:
- operators.coreos.com
resources:
Expand Down
79 changes: 47 additions & 32 deletions pelorus-operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,39 +45,54 @@ rules:
- patch
- update
- watch
- apiGroups:
- ""
- verbs:
- "*"
apiGroups:
- "rbac.authorization.k8s.io"
resources:
- pods
- services
- services/finalizers
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
- "clusterrolebindings"
- "clusterroles"
- verbs:
- "*"
apiGroups:
- "rbac.authorization.k8s.io"
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- "rolebindings"
- "roles"
- verbs:
- "*"
apiGroups:
- "apps"
resources:
- "deployments"
- verbs:
- "*"
apiGroups:
- "image.openshift.io"
resources:
- "imagestreams"
- verbs:
- "*"
apiGroups:
- "monitoring.coreos.com"
resources:
- "prometheuses"
- "prometheusrules"
- "servicemonitors"
- verbs:
- "*"
apiGroups:
- "route.openshift.io"
resources:
- "routes"
- verbs:
- "*"
apiGroups:
- ""
resources:
- "configmaps"
- "secrets"
- "serviceaccounts"
- "services"

#+kubebuilder:scaffold:rules
2 changes: 1 addition & 1 deletion pelorus-operator/helm-charts/pelorus/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dependencies:
repository: file://./charts/exporters
version: 2.0.13-rc.4
digest: sha256:9044a4123b267fb9c42945ced5af31fcc02d8ff2000057662fbb40f72b027884
generated: "2024-09-10T13:52:35.555623652Z"
generated: "2024-09-10T13:59:23.151180653Z"
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
{{- end}}
{{ include "exporters.imagestream_from_image" $exporter }}
{{- end }}
{{ include "exporters.route" $exporter }}
{{ include "exporters.service" $exporter }}
{{- end }}
{{- end }}

0 comments on commit 5710c13

Please sign in to comment.