Skip to content

Commit 6612ef4

Browse files
authored
Merge pull request #122 from iamniting/image
Makefile: provide a mechanism to change the kube-rbac-proxy image
2 parents 4136341 + 477974d commit 6612ef4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ NAMESPACE ?= $(NAME_PREFIX)system
1010

1111
IMG ?= $(IMAGE_REGISTRY)/$(REGISTRY_NAMESPACE)/$(IMAGE_NAME):$(IMAGE_TAG)
1212

13+
KUBE_RBAC_PROXY_IMG ?= gcr.io/kubebuilder/kube-rbac-proxy:v0.16.0
14+
1315
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
1416
ENVTEST_K8S_VERSION = 1.29.0
1517

@@ -51,6 +53,8 @@ patches:
5153
images:
5254
- name: controller
5355
newName: ${IMG}
56+
- name: kube-rbac-proxy
57+
newName: ${KUBE_RBAC_PROXY_IMG}
5458
resources:
5559
- ../config/default
5660
endef

config/default/manager_auth_proxy_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
capabilities:
1616
drop:
1717
- "ALL"
18-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.16.0
18+
image: kube-rbac-proxy
1919
args:
2020
- "--secure-listen-address=0.0.0.0:8443"
2121
- "--upstream=http://127.0.0.1:8080/"

0 commit comments

Comments
 (0)