Update the Controller Manager
By default, config/default/manager_auth_proxy_patch.yaml uses an uncertified kubebuilder image. In order to pass certification, it'll need to be changed to the certified image.
Edit the controller manager
1
vi config/default/manager_auth_proxy_patch.yaml
Copied!
Replace the image with the certified version, registry.redhat.io/openshift4/ose-kube-rbac-proxy
1
# This patch inject a sidecar container which is a HTTP proxy for the
2
# controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews.
3
apiVersion: apps/v1
4
kind: Deployment
5
metadata:
6
name: controller-manager
7
namespace: system
8
spec:
9
template:
10
spec:
11
containers:
12
- name: kube-rbac-proxy
13
#use this certified image
14
image: registry.redhat.io/openshift4/ose-kube-rbac-proxy:latest
Copied!
Copy link