84446371f7
This patchset provides the local volume provisioner manifests function for deploying it in a Target cluster, based on Helm charts. Closes: #27 Change-Id: I4d02727fb71c838c6791cc217d7a652a0011ff40
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
apiVersion: airshipit.org/v1alpha1
|
|
kind: ReplacementTransformer
|
|
metadata:
|
|
name: localvolume-provisioner-replacements
|
|
annotations:
|
|
config.kubernetes.io/function: |-
|
|
container:
|
|
image: quay.io/airshipit/replacement-transformer:latest
|
|
replacements:
|
|
- source:
|
|
objref:
|
|
kind: VersionsCatalogue
|
|
name: versions-treasuremap
|
|
fieldref: "{.spec.images.localstorage.provisioner.provisioner.image}"
|
|
target:
|
|
objref:
|
|
kind: HelmRelease
|
|
name: provisioner
|
|
fieldrefs: ["{.spec.values.daemonset.image}"]
|
|
- source:
|
|
objref:
|
|
kind: VersionsCatalogue
|
|
name: versions-treasuremap
|
|
fieldref: "{.spec.charts.provisioner.chart}"
|
|
target:
|
|
objref:
|
|
kind: HelmRelease
|
|
name: provisioner
|
|
fieldrefs: ["{.spec.chart.spec.chart}"]
|
|
- source:
|
|
objref:
|
|
kind: VersionsCatalogue
|
|
name: versions-treasuremap
|
|
fieldref: "{.spec.charts.provisioner.version}"
|
|
target:
|
|
objref:
|
|
kind: HelmRelease
|
|
name: provisioner
|
|
fieldrefs: ["{.spec.chart.spec.version}"]
|