added replacement for image-builder image
Closes: #572 Change-Id: Id58896b500f22bed5e9314807432f4867777c72c
This commit is contained in:
parent
bc9f97ff2e
commit
fd1f22a871
@ -155,5 +155,9 @@ spec:
|
|||||||
webhook:
|
webhook:
|
||||||
manager:
|
manager:
|
||||||
image: quay.io/jetstack/cert-manager-webhook:v1.1.0
|
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
|
kubernetes: v1.18.6
|
||||||
|
4
manifests/phases/replacements/kustomization.yaml
Normal file
4
manifests/phases/replacements/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- versions.yaml
|
20
manifests/phases/replacements/versions.yaml
Normal file
20
manifests/phases/replacements/versions.yaml
Normal 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"]
|
||||||
|
|
@ -12,3 +12,4 @@ patchesJson6902:
|
|||||||
path: infrastructure-providers.json
|
path: infrastructure-providers.json
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../function/clusterctl/replacements
|
- ../../../function/clusterctl/replacements
|
||||||
|
- ../../../phases/replacements
|
||||||
|
@ -12,3 +12,4 @@ patchesJson6902:
|
|||||||
path: infrastructure-providers.json
|
path: infrastructure-providers.json
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../function/clusterctl/replacements
|
- ../../../function/clusterctl/replacements
|
||||||
|
- ../../../phases/replacements
|
||||||
|
@ -12,3 +12,4 @@ patchesJson6902:
|
|||||||
path: infrastructure-providers.json
|
path: infrastructure-providers.json
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../function/clusterctl/replacements
|
- ../../../function/clusterctl/replacements
|
||||||
|
- ../../../phases/replacements
|
||||||
|
@ -12,3 +12,4 @@ patchesJson6902:
|
|||||||
path: infrastructure-providers.json
|
path: infrastructure-providers.json
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../function/clusterctl/replacements
|
- ../../../function/clusterctl/replacements
|
||||||
|
- ../../../phases/replacements
|
||||||
|
@ -6,3 +6,4 @@ resources:
|
|||||||
transformers:
|
transformers:
|
||||||
- ../../../function/clusterctl/replacements
|
- ../../../function/clusterctl/replacements
|
||||||
- ../../../function/bootstrap/replacements
|
- ../../../function/bootstrap/replacements
|
||||||
|
- ../../../phases/replacements
|
||||||
|
Loading…
x
Reference in New Issue
Block a user