Skip to content

Commit 90b426d

Browse files
committed
chore: Add new Rollouts RBAC and update E2E tests to expected new values
Signed-off-by: Jonathan West <jgwest@gmail.com>
1 parent c56dadf commit 90b426d

5 files changed

Lines changed: 6 additions & 2 deletions

File tree

bundle/manifests/gitops-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ metadata:
190190
capabilities: Deep Insights
191191
console.openshift.io/plugins: '["gitops-plugin"]'
192192
containerImage: quay.io/redhat-developer/gitops-operator
193-
createdAt: "2026-05-26T11:11:33Z"
193+
createdAt: "2026-05-27T11:59:10Z"
194194
description: Enables teams to adopt GitOps principles for managing cluster configurations
195195
and application delivery across hybrid multi-cluster Kubernetes environments.
196196
features.operators.openshift.io/disconnected: "true"
@@ -629,6 +629,7 @@ spec:
629629
- get
630630
- update
631631
- apiGroups:
632+
- eks.amazonaws.com
632633
- elbv2.k8s.aws
633634
resources:
634635
- targetgroupbindings

config/rbac/role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ rules:
263263
- get
264264
- update
265265
- apiGroups:
266+
- eks.amazonaws.com
266267
- elbv2.k8s.aws
267268
resources:
268269
- targetgroupbindings

controllers/gitopsservice_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ type ReconcileGitopsService struct {
197197
//+kubebuilder:rbac:groups="batch",resources=jobs,verbs=create;get;list;watch;update;patch;delete
198198
//+kubebuilder:rbac:groups="coordination.k8s.io",resources=leases,verbs=create;get;update
199199
//+kubebuilder:rbac:groups="elbv2.k8s.aws",resources=targetgroupbindings,verbs=list;get
200+
//+kubebuilder:rbac:groups="eks.amazonaws.com",resources=targetgroupbindings,verbs=list;get
200201
//+kubebuilder:rbac:groups="extensions",resources=ingresses,verbs=create;get;list;watch;patch
201202
//+kubebuilder:rbac:groups="getambassador.io",resources=ambassadormappings;mappings,verbs=create;watch;get;update;list;delete
202203
//+kubebuilder:rbac:groups="networking.istio.io",resources=destinationrules;virtualservices,verbs=watch;get;update;patch;list

test/openshift/e2e/ginkgo/parallel/1-090_validate_permissions_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ spec:
438438
- update
439439
- apiGroups:
440440
- elbv2.k8s.aws
441+
- eks.amazonaws.com
441442
resources:
442443
- targetgroupbindings
443444
verbs:

test/openshift/e2e/ginkgo/sequential/1-101_validate_rollout_policyrules_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
139139
Verbs: []string{"get"},
140140
},
141141
{
142-
APIGroups: []string{"elbv2.k8s.aws"},
142+
APIGroups: []string{"elbv2.k8s.aws", "eks.amazonaws.com"},
143143
Resources: []string{"targetgroupbindings"},
144144
Verbs: []string{"list", "get"},
145145
},

0 commit comments

Comments
 (0)