diff --git a/bootstrap/kubeadm/config/manager/manager_auth_proxy_patch.yaml b/bootstrap/kubeadm/config/manager/manager_auth_proxy_patch.yaml index 9babb6895848..1b8199d9a892 100644 --- a/bootstrap/kubeadm/config/manager/manager_auth_proxy_patch.yaml +++ b/bootstrap/kubeadm/config/manager/manager_auth_proxy_patch.yaml @@ -9,18 +9,18 @@ spec: template: spec: containers: - - name: kube-rbac-proxy - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 - args: - - "--secure-listen-address=0.0.0.0:8443" - - "--upstream=http://127.0.0.1:8080/" - - "--logtostderr=true" - - "--v=10" - ports: - - containerPort: 8443 - name: https - - name: manager - args: - - "--metrics-addr=127.0.0.1:8080" - - "--enable-leader-election" - - "--feature-gates=MachinePool=${EXP_MACHINE_POOL:=false}" + - name: kube-rbac-proxy + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0 + args: + - "--secure-listen-address=0.0.0.0:8443" + - "--upstream=http://127.0.0.1:8080/" + - "--logtostderr=true" + - "--v=10" + ports: + - containerPort: 8443 + name: https + - name: manager + args: + - "--metrics-addr=127.0.0.1:8080" + - "--enable-leader-election" + - "--feature-gates=MachinePool=${EXP_MACHINE_POOL:=false}" diff --git a/cmd/clusterctl/client/init_test.go b/cmd/clusterctl/client/init_test.go index 9b09a96aae6b..514ffe0cb68f 100644 --- a/cmd/clusterctl/client/init_test.go +++ b/cmd/clusterctl/client/init_test.go @@ -75,7 +75,7 @@ func Test_clusterctlClient_InitImages(t *testing.T) { kubeconfigContext: "mgmt-context", }, expectedImages: []string{ - "gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1", + "gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0", "us.gcr.io/k8s-artifacts-prod/cluster-api-aws/cluster-api-aws-controller:v0.5.3", }, wantErr: false, @@ -894,7 +894,7 @@ spec: template: spec: containers: - - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 + - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0 name: kube-rbac-proxy - image: us.gcr.io/k8s-artifacts-prod/cluster-api-aws/cluster-api-aws-controller:v0.5.3 name: manager diff --git a/cmd/clusterctl/internal/util/objs_test.go b/cmd/clusterctl/internal/util/objs_test.go index c3327eead9e7..8e582c638562 100644 --- a/cmd/clusterctl/internal/util/objs_test.go +++ b/cmd/clusterctl/internal/util/objs_test.go @@ -80,7 +80,7 @@ func Test_inspectImages(t *testing.T) { }, { "name": "kube-rbac-proxy", - "image": "gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1", + "image": "gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0", }, }, }, @@ -90,7 +90,7 @@ func Test_inspectImages(t *testing.T) { }, }, }, - want: []string{"gcr.io/k8s-staging-cluster-api/cluster-api-controller:master", "gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1"}, + want: []string{"gcr.io/k8s-staging-cluster-api/cluster-api-controller:master", "gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0"}, wantErr: false, }, { diff --git a/config/ci/manager/manager_auth_proxy_patch.yaml b/config/ci/manager/manager_auth_proxy_patch.yaml index 8ff307126c23..63314d3590a0 100644 --- a/config/ci/manager/manager_auth_proxy_patch.yaml +++ b/config/ci/manager/manager_auth_proxy_patch.yaml @@ -10,7 +10,7 @@ spec: spec: containers: - name: kube-rbac-proxy - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0 args: - "--secure-listen-address=0.0.0.0:8443" - "--upstream=http://127.0.0.1:8080/" diff --git a/config/manager/manager_auth_proxy_patch.yaml b/config/manager/manager_auth_proxy_patch.yaml index 8ff307126c23..63314d3590a0 100644 --- a/config/manager/manager_auth_proxy_patch.yaml +++ b/config/manager/manager_auth_proxy_patch.yaml @@ -10,7 +10,7 @@ spec: spec: containers: - name: kube-rbac-proxy - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0 args: - "--secure-listen-address=0.0.0.0:8443" - "--upstream=http://127.0.0.1:8080/" diff --git a/controlplane/kubeadm/config/manager/manager_auth_proxy_patch.yaml b/controlplane/kubeadm/config/manager/manager_auth_proxy_patch.yaml index 61cb5e7cb6d9..75534b7b431d 100644 --- a/controlplane/kubeadm/config/manager/manager_auth_proxy_patch.yaml +++ b/controlplane/kubeadm/config/manager/manager_auth_proxy_patch.yaml @@ -9,17 +9,17 @@ spec: template: spec: containers: - - name: kube-rbac-proxy - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 - args: - - "--secure-listen-address=0.0.0.0:8443" - - "--upstream=http://127.0.0.1:8080/" - - "--logtostderr=true" - - "--v=10" - ports: - - containerPort: 8443 - name: https - - name: manager - args: - - "--metrics-addr=127.0.0.1:8080" - - "--enable-leader-election" + - name: kube-rbac-proxy + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0 + args: + - "--secure-listen-address=0.0.0.0:8443" + - "--upstream=http://127.0.0.1:8080/" + - "--logtostderr=true" + - "--v=10" + ports: + - containerPort: 8443 + name: https + - name: manager + args: + - "--metrics-addr=127.0.0.1:8080" + - "--enable-leader-election" diff --git a/test/infrastructure/docker/config/manager/manager_auth_proxy_patch.yaml b/test/infrastructure/docker/config/manager/manager_auth_proxy_patch.yaml index 42d3f1771a34..26493aef63ac 100644 --- a/test/infrastructure/docker/config/manager/manager_auth_proxy_patch.yaml +++ b/test/infrastructure/docker/config/manager/manager_auth_proxy_patch.yaml @@ -9,18 +9,18 @@ spec: template: spec: containers: - - name: kube-rbac-proxy - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.0 - args: - - "--secure-listen-address=0.0.0.0:8443" - - "--upstream=http://127.0.0.1:8080/" - - "--logtostderr=true" - - "--v=10" - ports: - - containerPort: 8443 - name: https - - name: manager - args: - - "--feature-gates=MachinePool=${EXP_MACHINE_POOL:=false}" - - "--metrics-addr=0" - - "-v=4" + - name: kube-rbac-proxy + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0 + args: + - "--secure-listen-address=0.0.0.0:8443" + - "--upstream=http://127.0.0.1:8080/" + - "--logtostderr=true" + - "--v=10" + ports: + - containerPort: 8443 + name: https + - name: manager + args: + - "--feature-gates=MachinePool=${EXP_MACHINE_POOL:=false}" + - "--metrics-addr=0" + - "-v=4"