299b2833b2
This pins krm function calls to version `v2` which represents [0] [1] the latest 2.x.x semantic version. If we need to make breaking changes to any krm functions, that can now be done by incrementing their major version and thus not breaking these references. [0]: https://review.opendev.org/c/airship/airshipctl/+/762924 [1]: https://review.opendev.org/c/airship/airshipctl/+/780875 Closes: #419 Change-Id: I6cf6519511c77da6cac7e46a6b56ea338bcf150c
21 lines
552 B
YAML
21 lines
552 B
YAML
apiVersion: airshipit.org/v1alpha1
|
|
kind: ReplacementTransformer
|
|
metadata:
|
|
name: helm-controller-versions-replacements
|
|
annotations:
|
|
config.kubernetes.io/function: |-
|
|
container:
|
|
image: quay.io/airshipit/replacement-transformer:v2
|
|
replacements:
|
|
- source:
|
|
objref:
|
|
kind: VersionsCatalogue
|
|
name: versions-airshipctl
|
|
fieldref: spec.images.flux.helm_controller.manager.image
|
|
target:
|
|
objref:
|
|
kind: Deployment
|
|
name: helm-controller
|
|
fieldrefs: ["spec.template.spec.containers[name=manager].image"]
|
|
|