Skip to content

Migration of kube-rbac-proxy in gitops-operator#1119

Merged
openshift-merge-bot[bot] merged 19 commits intoredhat-developer:masterfrom
akhilnittala:usr/akhil/GITOPS-9256
Apr 22, 2026
Merged

Migration of kube-rbac-proxy in gitops-operator#1119
openshift-merge-bot[bot] merged 19 commits intoredhat-developer:masterfrom
akhilnittala:usr/akhil/GITOPS-9256

Conversation

@akhilnittala
Copy link
Copy Markdown
Member

What type of PR is this?

Uncomment only one /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:
Since kube-rbac-proxy has been officially deprecated and removed from the GCR repository, we are eliminating this image dependency by transitioning to the controller-runtime’s built-in functionality.

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #?
https://redhat.atlassian.net/browse/GITOPS-9256
Test acceptance criteria:

  • Unit Test
  • E2E Test

How to test changes / Special notes to the reviewer:
Install gitops operator with this changes and verify gitops operator now has only one container created, but metrics should be there as it is without impacting gitops operator metrics functionality.

@openshift-ci openshift-ci Bot added the kind/enhancement New feature or request label Apr 8, 2026
@openshift-ci openshift-ci Bot requested review from jgwest and trdoyle81 April 8, 2026 05:48
@akhilnittala akhilnittala force-pushed the usr/akhil/GITOPS-9256 branch from 5a69e7b to 9938bfd Compare April 9, 2026 08:24
@jgwest
Copy link
Copy Markdown
Member

jgwest commented Apr 10, 2026

Cluster flake
/retest

Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
Comment thread config/default/manager_auth_proxy_patch.yaml
Comment thread config/default/manager_metrics_patch.yaml Outdated
@akhilnittala
Copy link
Copy Markdown
Member Author

/retest-failed

@akhilnittala
Copy link
Copy Markdown
Member Author

/retest-required

Comment thread config/default/manager_metrics_patch.yaml Outdated
Comment on lines -349 to -353
Expect(container.Env).To(ContainElement(And(
HaveField("Name", "REDIS_PASSWORD"),
HaveField("ValueFrom.SecretKeyRef", Not(BeNil())),
)), "REDIS_PASSWORD should be set with valueFrom.secretKeyRef")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bringing this to my attention. This will be changed by https://github.com/redhat-developer/gitops-operator/pull/1112/changes#diff-2ac629a59849dbdad312d82f8074b263b8e35b9913aa46dbd704b30ed5214e1cR393.

If that PR is merged first, it will be undesirable to remove the block, of course.

Copy link
Copy Markdown
Member

@svghadi svghadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 22, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: svghadi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@akhilnittala
Copy link
Copy Markdown
Member Author

/retest-required

@openshift-merge-bot openshift-merge-bot Bot merged commit 830b1dd into redhat-developer:master Apr 22, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants