a65a7e155b
Relates-To: #524 Signed-off-by: Sean Eagan <seaneagan1@gmail.com> Change-Id: I7e811835ae1e5ab2cab65c398c53126f3a632405
21 lines
547 B
YAML
21 lines
547 B
YAML
apiVersion: airshipit.org/v1alpha1
|
|
kind: ReplacementTransformer
|
|
metadata:
|
|
name: source-controller-versions-replacements
|
|
annotations:
|
|
config.kubernetes.io/function: |-
|
|
container:
|
|
image: localhost/replacement-transformer
|
|
replacements:
|
|
- source:
|
|
objref:
|
|
kind: VersionsCatalogue
|
|
name: versions-airshipctl
|
|
fieldref: spec.images.flux.source_controller.manager.image
|
|
target:
|
|
objref:
|
|
kind: Deployment
|
|
name: source-controller
|
|
fieldrefs: ["spec.template.spec.containers[name=manager].image"]
|
|
|