Files
treasuremap/manifests/function/minio/replacements/versions.yaml
Drew Walters 49d29207bd Update templater and replacement-transformer tags
This change updates the version of the replacement-transformer and
templater images to v2, the same version used in the airshipctl
repository. Breaking changes have been introduced to the latest versions
of the images, causing document rendering to fail.

Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: Id0411f6c221d9986a6dece4d5f9b91ac94430ecc
2021-04-14 16:28:24 +00:00

63 lines
1.4 KiB
YAML

apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: minio-versions-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: quay.io/airshipit/replacement-transformer:v2
replacements:
- source:
objref:
kind: VariableCatalogue
name: versions-treasuremap
fieldref: "{.spec.helm_repositories.minio}"
target:
objref:
kind: HelmRepository
name: minio
fieldrefs: ["{.spec}"]
- source:
objref:
kind: VariableCatalogue
name: versions-treasuremap
fieldref: "{.spec.charts.minio.chart}"
target:
objref:
kind: HelmRelease
name: minio
fieldrefs: ["{.spec.chart.spec.chart}"]
- source:
objref:
kind: VariableCatalogue
name: versions-treasuremap
fieldref: "{.spec.charts.minio.version}"
target:
objref:
kind: HelmRelease
name: minio
fieldrefs: ["{.spec.chart.version}"]
- source:
objref:
kind: VariableCatalogue
name: versions-treasuremap
fieldref: "{.spec.images.minio.minio}"
target:
objref:
kind: HelmRelease
name: minio
fieldrefs: ["{.spec.values.image}"]
- source:
objref:
kind: VariableCatalogue
name: versions-treasuremap
fieldref: "{.spec.images.minio.mc}"
target:
objref:
kind: HelmRelease
name: minio
fieldrefs: ["{.spec.values.mcImage}"]