Skip to content

Commit d55e276

Browse files
committed
Migration of kube-rbac-proxy in gitops-operator
Signed-off-by: akhil nittala <nakhil@redhat.com>
1 parent cad0ecb commit d55e276

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

bundle/manifests/gitops-operator.clusterserviceversion.yaml

Lines changed: 7 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-04-15T08:36:40Z"
193+
createdAt: "2026-04-15T08:51:59Z"
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"
@@ -885,6 +885,12 @@ spec:
885885
- containerPort: 9443
886886
name: webhook-server
887887
protocol: TCP
888+
- containerPort: 8443
889+
name: metrics
890+
protocol: TCP
891+
- containerPort: 8081
892+
name: health
893+
protocol: TCP
888894
readinessProbe:
889895
httpGet:
890896
path: /readyz

config/default/manager_metrics_patch.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This patch configures the manager to serve metrics securely using
2-
# controller-runtime's built-in authn/authz (replacing the deprecated
3-
# kube-rbac-proxy sidecar).
41
apiVersion: apps/v1
52
kind: Deployment
63
metadata:
@@ -18,6 +15,13 @@ spec:
1815
- "--health-probe-bind-address=:8081"
1916
- "--metrics-bind-address=:8443"
2017
- "--leader-elect"
18+
ports:
19+
- name: metrics
20+
containerPort: 8443
21+
protocol: TCP
22+
- name: health
23+
containerPort: 8081
24+
protocol: TCP
2125
volumes:
2226
# Secret created by the service CA operator.
2327
# We assume that the Kubernetes service exposing the application's pods has the

0 commit comments

Comments
 (0)