added replacement for image-builder image

Closes: #572
Change-Id: Id58896b500f22bed5e9314807432f4867777c72c
This commit is contained in:
Pallav Gupta 2021-06-09 16:12:19 -07:00
parent bc9f97ff2e
commit fd1f22a871
8 changed files with 33 additions and 0 deletions

View File

@ -155,5 +155,9 @@ spec:
webhook:
manager:
image: quay.io/jetstack/cert-manager-webhook:v1.1.0
image_builder:
image_builder:
image_builder:
image: quay.io/airshipit/image-builder:latest-ubuntu_focal
kubernetes: v1.18.6

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- versions.yaml

View File

@ -0,0 +1,20 @@
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: image-builder-versions-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: localhost/replacement-transformer
replacements:
- source:
objref:
kind: VersionsCatalogue
name: versions-airshipctl
fieldref: spec.images.image_builder.image_builder.image_builder.image
target:
objref:
kind: GenericContainer
name: iso-build-image
fieldrefs: ["spec.image"]

View File

@ -12,3 +12,4 @@ patchesJson6902:
path: infrastructure-providers.json
transformers:
- ../../../function/clusterctl/replacements
- ../../../phases/replacements

View File

@ -12,3 +12,4 @@ patchesJson6902:
path: infrastructure-providers.json
transformers:
- ../../../function/clusterctl/replacements
- ../../../phases/replacements

View File

@ -12,3 +12,4 @@ patchesJson6902:
path: infrastructure-providers.json
transformers:
- ../../../function/clusterctl/replacements
- ../../../phases/replacements

View File

@ -12,3 +12,4 @@ patchesJson6902:
path: infrastructure-providers.json
transformers:
- ../../../function/clusterctl/replacements
- ../../../phases/replacements

View File

@ -6,3 +6,4 @@ resources:
transformers:
- ../../../function/clusterctl/replacements
- ../../../function/bootstrap/replacements
- ../../../phases/replacements