airshipctl/manifests/phases/replacements/versions.yaml
Pallav Gupta fd1f22a871 added replacement for image-builder image
Closes: #572
Change-Id: Id58896b500f22bed5e9314807432f4867777c72c
2021-06-11 23:57:20 -07:00

21 lines
519 B
YAML

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"]