@@ -46,10 +46,10 @@ spec:
4646 --leader-elect-retry-period=26s \
4747 --leader-elect-resource-namespace=openshift-cloud-controller-manager-operator \
4848 "--images-json=/etc/cloud-controller-manager-config/images.json" \
49- --metrics-bind-address=:9258 \
49+ --metrics-bind-address=127.0.0.1:9257 \
5050 --health-addr=127.0.0.1:9259
5151 ports :
52- - containerPort : 9258
52+ - containerPort : 9257
5353 name : metrics
5454 protocol : TCP
5555 - containerPort : 9259
@@ -103,6 +103,33 @@ spec:
103103 - mountPath : /etc/kubernetes
104104 name : host-etc-kube
105105 readOnly : true
106+ - args :
107+ - --secure-listen-address=0.0.0.0:9258
108+ - --upstream=http://127.0.0.1:9257/
109+ - --tls-cert-file=/etc/tls/private/tls.crt
110+ - --tls-private-key-file=/etc/tls/private/tls.key
111+ - --config-file=/etc/kube-rbac-proxy/config-file.yaml
112+ - --tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
113+ - --logtostderr=true
114+ - --v=3
115+ image : placeholder.url.oc.will.replace.this.org/placeholdernamespace:kube-rbac-proxy
116+ imagePullPolicy : IfNotPresent
117+ name : kube-rbac-proxy
118+ ports :
119+ - containerPort : 9258
120+ name : https
121+ protocol : TCP
122+ terminationMessagePath : /dev/termination-log
123+ terminationMessagePolicy : File
124+ resources :
125+ requests :
126+ memory : 20Mi
127+ cpu : 10m
128+ volumeMounts :
129+ - mountPath : /etc/kube-rbac-proxy
130+ name : auth-proxy-config
131+ - mountPath : /etc/tls/private
132+ name : cloud-controller-manager-operator-tls
106133 hostNetwork : true
107134 nodeSelector :
108135 node-role.kubernetes.io/master : " "
@@ -139,3 +166,10 @@ spec:
139166 hostPath :
140167 path : /etc/kubernetes
141168 type : Directory
169+ - configMap :
170+ name : kube-rbac-proxy
171+ name : auth-proxy-config
172+ - name : cloud-controller-manager-operator-tls
173+ secret :
174+ secretName : cloud-controller-manager-operator-tls
175+ optional : true
0 commit comments