Skip to content

Commit f4ada4c

Browse files
authored
Add config ingress permission (#933)
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>
1 parent 9934830 commit f4ada4c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

bundle/manifests/gitops-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ metadata:
180180
capabilities: Deep Insights
181181
console.openshift.io/plugins: '["gitops-plugin"]'
182182
containerImage: quay.io/redhat-developer/gitops-operator
183-
createdAt: "2025-07-10T04:40:01Z"
183+
createdAt: "2025-07-30T13:03:16Z"
184184
description: Enables teams to adopt GitOps principles for managing cluster configurations
185185
and application delivery across hybrid multi-cluster Kubernetes environments.
186186
features.operators.openshift.io/disconnected: "true"
@@ -570,6 +570,7 @@ spec:
570570
- config.openshift.io
571571
resources:
572572
- clusterversions
573+
- ingresses
573574
verbs:
574575
- get
575576
- list

config/rbac/role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ rules:
222222
- config.openshift.io
223223
resources:
224224
- clusterversions
225+
- ingresses
225226
verbs:
226227
- get
227228
- list

controllers/gitopsservice_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ type ReconcileGitopsService struct {
199199
//+kubebuilder:rbac:groups=argoproj.io,resources=notificationsconfigurations;notificationsconfigurations/finalizers,verbs=*
200200
//+kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch;
201201
//+kubebuilder:rbac:groups="apiregistration.k8s.io",resources="apiservices",verbs=get;list
202+
// +kubebuilder:rbac:groups=config.openshift.io,resources=ingresses,verbs=get;list;watch
202203

203204
// Reconcile reads that state of the cluster for a GitopsService object and makes changes based on the state read
204205
// and what is in the GitopsService.Spec

0 commit comments

Comments
 (0)