
This integrates the airshipctl change to externalize KRM function versions [0]. The KRM function versions used in the manifests are updated to those which the airshipctl deployment scripts now resolve to the "in tree" locally built images, as both sourced via AIRSHIPCTL_REF. [0]: https://review.opendev.org/c/airship/airshipctl/+/790507 Depends-On: https://review.opendev.org/c/airship/airshipctl/+/790507 Signed-off-by: Sean Eagan <seaneagan1@gmail.com> Change-Id: I61b29fda93b9d70c47612ebd1bfdcd348cc63a0f
22 lines
617 B
YAML
22 lines
617 B
YAML
# These rules inject env vars into the workers.
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: ReplacementTransformer
|
|
metadata:
|
|
name: metal3machientemplate-replacements
|
|
annotations:
|
|
config.kubernetes.io/function: |-
|
|
container:
|
|
image: localhost/replacement-transformer
|
|
replacements:
|
|
- source:
|
|
objref:
|
|
name: networking
|
|
fieldref: spec.ironic.provisioningIp
|
|
target:
|
|
objref:
|
|
kind: Metal3MachineTemplate
|
|
name: worker-1
|
|
fieldrefs:
|
|
- "spec.template.spec.image.url%REPLACEMENT_PROVISIONING_IP%"
|
|
- "spec.template.spec.image.checksum%REPLACEMENT_PROVISIONING_IP%"
|