Sreejith Punnapuzha c2e5cb13f2 Change image tags
* Change templater image tag from dev to latest
  * Change replacement-transformer image tag from dev to latest
  * Change Makefile to build images with tag latest

Change-Id: Iff074d6fe771cce48dae7190fbc69cc437138817
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
2020-11-10 12:23:25 -06:00

40 lines
1012 B
YAML

# These rules inject host-specific information from the `host-catalogue`
# into the hostgenerator-m3 function's Template plugin config.
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: m3-host-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: quay.io/airshipit/replacement-transformer:latest
replacements:
- source:
objref:
name: host-catalogue
fieldref: "{.hosts.m3}"
target:
objref:
kind: Templater
name: m3-host-template
fieldrefs: ["{.values.hosts}"]
- source:
objref:
name: host-generation-catalogue
fieldref: "{.hosts.m3}"
target:
objref:
kind: Templater
name: m3-host-template
fieldrefs: ["{.values.hostsToGenerate}"]
- source:
objref:
kind: VariableCatalogue
name: networking
fieldref: "{.commonHostNetworking}"
target:
objref:
kind: Templater
name: m3-host-template
fieldrefs: ["{.values.commonNetworking}"]