github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/config/default/manager_auth_proxy_patch.yaml (about) 1 # This patch inject a sidecar container which is a HTTP proxy for the controller manager, 2 # 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 image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.0 14 args: 15 - "--secure-listen-address=0.0.0.0:8443" 16 - "--upstream=http://127.0.0.1:8080/" 17 - "--logtostderr=true" 18 - "--v=10" 19 ports: 20 - containerPort: 8443 21 name: https 22 - name: manager 23 args: 24 - "--metrics-addr=127.0.0.1:8080" 25 - "--enable-leader-election"