diff --git a/manifests/site/docker-test-site/phases/capi_provider_patch.yaml b/manifests/site/docker-test-site/phases/capi_provider_patch.yaml new file mode 100644 index 00000000..9c8afb6d --- /dev/null +++ b/manifests/site/docker-test-site/phases/capi_provider_patch.yaml @@ -0,0 +1,45 @@ +apiVersion: airshipit.org/v1alpha1 +kind: Clusterctl +metadata: + name: clusterctl_init + +init-options: + bootstrap-providers: kubeadm:v0.3.7 + control-plane-providers: kubeadm:v0.3.7 + core-provider: cluster-api:v0.3.7 + +providers: +- name: docker + type: InfrastructureProvider + url: airshipctl/manifests/function/capd/v0.3.11 +- name: kubeadm + type: BootstrapProvider + url: airshipctl/manifests/function/cabpk/v0.3.7 +- name: cluster-api + type: CoreProvider + url: airshipctl/manifests/function/capi/v0.3.7 +- name: kubeadm + type: ControlPlaneProvider + url: airshipctl/manifests/function/cacpk/v0.3.7 + +images: + cert-manager: + repository: "quay.io/jetstack" + cluster-api/cluster-api-controller: + repository: "us.gcr.io/k8s-artifacts-prod/cluster-api" + tag: "v0.3.7" + cluster-api/kube-rbac-proxy: + repository: "gcr.io/kubebuilder" + tag: "v0.4.1" + bootstrap-kubeadm/kubeadm-bootstrap-controller: + repository: "us.gcr.io/k8s-artifacts-prod/cluster-api" + tag: "v0.3.7" + bootstrap-kubeadm/kube-rbac-proxy: + repository: "gcr.io/kubebuilder" + tag: "v0.4.1" + control-plane-kubeadm/kubeadm-control-plane-controller: + repository: "us.gcr.io/k8s-artifacts-prod/cluster-api" + tag: "v0.3.7" + control-plane-kubeadm/kube-rbac-proxy: + repository: "gcr.io/kubebuilder" + tag: "v0.4.1" diff --git a/manifests/site/docker-test-site/phases/clusterctl_image_patch.yaml b/manifests/site/docker-test-site/phases/clusterctl_image_patch.yaml new file mode 100644 index 00000000..43023064 --- /dev/null +++ b/manifests/site/docker-test-site/phases/clusterctl_image_patch.yaml @@ -0,0 +1,6 @@ +apiVersion: airshipit.org/v1alpha1 +kind: GenericContainer +metadata: + name: clusterctl +spec: + image: quay.io/airshipit/clusterctl:eb9ac97ce207542e1e4d3b363963bfc5f0847096 diff --git a/manifests/site/docker-test-site/phases/kustomization.yaml b/manifests/site/docker-test-site/phases/kustomization.yaml index 03bf4f24..aee79912 100644 --- a/manifests/site/docker-test-site/phases/kustomization.yaml +++ b/manifests/site/docker-test-site/phases/kustomization.yaml @@ -12,6 +12,13 @@ patchesStrategicMerge: - plan_patch.yaml - cluster_map_patch.yaml - executor_patch.yaml + # clusterctl_image_patch.yaml replaces localhost/clusterctl:latest image to clusterctl v0.3.22 utility image + # capi_provider_patch.yaml pins v1alpha3 CAPI components providers and images for docker-test-site + - clusterctl_image_patch.yaml + - capi_provider_patch.yaml transformers: - - ../../../function/clusterctl/replacements + # Commenting clusterctl replacements to used v1alpha3 CAPI component images + # This needsto uncomment again once docker provider is upgraded to v1alpha4 + # and above 2 patches can be deleted + # - ../../../function/clusterctl/replacements - ../../../phases/replacements