Image override for CAPG components

Change-Id: Ibc2c3174897de4417e274f2bb887ce2f8649148d
Relates-To: #431
This commit is contained in:
Sirajudeen 2021-01-04 21:31:47 +00:00
parent de625b10d8
commit 95af33581d
5 changed files with 16 additions and 8 deletions

View File

@ -54,8 +54,12 @@ images:
manager: gcr.io/k8s-staging-capi-openstack/capi-openstack-controller-amd64:v20200707-v0.3.1 manager: gcr.io/k8s-staging-capi-openstack/capi-openstack-controller-amd64:v20200707-v0.3.1
auth_proxy: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 auth_proxy: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1
capg: capg:
manager: gcr.io/k8s-staging-cluster-api-gcp/cluster-api-gcp-controller:master manager:
auth_proxy: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 repository: gcr.io/k8s-staging-cluster-api-gcp
tag: master
auth_proxy:
repository: gcr.io/kubebuilder
tag: v0.4.1
capi: capi:
manager: manager:
repository: us.gcr.io/k8s-artifacts-prod/cluster-api repository: us.gcr.io/k8s-artifacts-prod/cluster-api

View File

@ -10,7 +10,7 @@ spec:
spec: spec:
containers: containers:
- name: kube-rbac-proxy - name: kube-rbac-proxy
image: ${CONTAINER_CAPG_AUTH_PROXY} image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1
args: args:
- "--secure-listen-address=0.0.0.0:8443" - "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/" - "--upstream=http://127.0.0.1:8080/"

View File

@ -8,5 +8,5 @@ spec:
spec: spec:
containers: containers:
# Change the value of image field below to your controller image URL # Change the value of image field below to your controller image URL
- image: ${CONTAINER_CAPG_MANAGER} - image: gcr.io/k8s-staging-cluster-api-gcp/cluster-api-gcp-controller:e2e
name: manager name: manager

View File

@ -75,11 +75,15 @@ images:
infrastructure-azure/kube-rbac-proxy: infrastructure-azure/kube-rbac-proxy:
repository: "gcr.io/kubebuilder" repository: "gcr.io/kubebuilder"
tag: "v0.4.1" tag: "v0.4.1"
infrastructure-gcp/cluster-api-gcp-controller:
repository: "gcr.io/k8s-staging-cluster-api-gcp"
tag: "master"
infrastructure-gcp/kube-rbac-proxy:
repository: "gcr.io/kubebuilder"
tag: "v0.4.1"
# These default images can be overridden via the `replacements/` entrypoint # These default images can be overridden via the `replacements/` entrypoint
additional-vars: additional-vars:
CONTAINER_CAPO_MANAGER: gcr.io/k8s-staging-capi-openstack/capi-openstack-controller-amd64:v20200707-v0.3.1 CONTAINER_CAPO_MANAGER: gcr.io/k8s-staging-capi-openstack/capi-openstack-controller-amd64:v20200707-v0.3.1
CONTAINER_CAPO_AUTH_PROXY: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 CONTAINER_CAPO_AUTH_PROXY: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1
CONTAINER_CAPG_MANAGER: gcr.io/k8s-staging-cluster-api-gcp/cluster-api-gcp-controller:master
CONTAINER_CAPG_AUTH_PROXY: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1

View File

@ -123,7 +123,7 @@ replacements:
objref: objref:
kind: Clusterctl kind: Clusterctl
name: clusterctl_init name: clusterctl_init
fieldrefs: ["{.additional-vars.CONTAINER_CAPG_MANAGER}"] fieldrefs: ["{.images.infrastructure-gcp/cluster-api-gcp-controller}"]
- source: - source:
objref: objref:
kind: VariableCatalogue kind: VariableCatalogue
@ -133,7 +133,7 @@ replacements:
objref: objref:
kind: Clusterctl kind: Clusterctl
name: clusterctl_init name: clusterctl_init
fieldrefs: ["{.additional-vars.CONTAINER_CAPG_AUTH_PROXY}"] fieldrefs: ["{.images.infrastructure-gcp/kube-rbac-proxy}"]
# Replace capi versions # Replace capi versions
- source: - source:
objref: objref: