Add minio versions and replacements
This change adds the minio chart, repo, and image version to the versions catalogue so they can be overridden downstream. Signed-off-by: Drew Walters <andrew.walters@att.com> Change-Id: I7b823f11f7c24b2838a94e2f786ee7f7ca0cc36c
This commit is contained in:
parent
b85aea7dba
commit
6a67748eae
@ -7,11 +7,9 @@ spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: minio
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: minio
|
||||
version: 8.0.9
|
||||
interval: 1m
|
||||
wait: false
|
||||
timeout: 5m
|
||||
|
2
manifests/function/minio/replacements/kustomization.yaml
Normal file
2
manifests/function/minio/replacements/kustomization.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- versions.yaml
|
62
manifests/function/minio/replacements/versions.yaml
Normal file
62
manifests/function/minio/replacements/versions.yaml
Normal file
@ -0,0 +1,62 @@
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: ReplacementTransformer
|
||||
metadata:
|
||||
name: minio-versions-replacements
|
||||
annotations:
|
||||
config.kubernetes.io/function: |-
|
||||
container:
|
||||
image: quay.io/airshipit/replacement-transformer:latest
|
||||
replacements:
|
||||
- source:
|
||||
objref:
|
||||
kind: VersionsCatalogue
|
||||
name: versions-treasuremap
|
||||
fieldref: "{.spec.helm_repositories.minio}"
|
||||
target:
|
||||
objref:
|
||||
kind: HelmRepository
|
||||
name: minio
|
||||
fieldrefs: ["{.spec}"]
|
||||
|
||||
- source:
|
||||
objref:
|
||||
kind: VersionsCatalogue
|
||||
name: versions-treasuremap
|
||||
fieldref: "{.spec.charts.minio.chart}"
|
||||
target:
|
||||
objref:
|
||||
kind: HelmRelease
|
||||
name: minio
|
||||
fieldrefs: ["{.spec.chart.spec.chart}"]
|
||||
- source:
|
||||
objref:
|
||||
kind: VersionsCatalogue
|
||||
name: versions-treasuremap
|
||||
fieldref: "{.spec.charts.minio.version}"
|
||||
target:
|
||||
objref:
|
||||
kind: HelmRelease
|
||||
name: minio
|
||||
fieldrefs: ["{.spec.chart.version}"]
|
||||
|
||||
- source:
|
||||
objref:
|
||||
kind: VersionsCatalogue
|
||||
name: versions-treasuremap
|
||||
fieldref: "{.spec.images.minio.minio}"
|
||||
target:
|
||||
objref:
|
||||
kind: HelmRelease
|
||||
name: minio
|
||||
fieldrefs: ["{.spec.values.image}"]
|
||||
|
||||
- source:
|
||||
objref:
|
||||
kind: VersionsCatalogue
|
||||
name: versions-treasuremap
|
||||
fieldref: "{.spec.images.minio.mc}"
|
||||
target:
|
||||
objref:
|
||||
kind: HelmRelease
|
||||
name: minio
|
||||
fieldrefs: ["{.spec.values.mcImage}"]
|
@ -13,6 +13,8 @@ spec:
|
||||
# NOTE: logging-operator and logging-operator-logging charts share this repository
|
||||
logging_operator:
|
||||
url: https://kubernetes-charts.banzaicloud.com
|
||||
minio:
|
||||
url: https://helm.min.io
|
||||
|
||||
charts:
|
||||
grafana:
|
||||
@ -27,6 +29,9 @@ spec:
|
||||
logging_operator_logging:
|
||||
chart: logging-operator-logging
|
||||
version: 3.8.3
|
||||
minio:
|
||||
chart: minio
|
||||
version: 8.0.9
|
||||
|
||||
images:
|
||||
grafana:
|
||||
@ -74,6 +79,13 @@ spec:
|
||||
volume_mod:
|
||||
repository: busybox
|
||||
tag: latest
|
||||
minio:
|
||||
minio:
|
||||
repository: minio/minio
|
||||
tag: RELEASE.2020-11-06T23-17-07Z
|
||||
mc:
|
||||
repository: minio/mc
|
||||
tag: RELEASE.2020-10-03T02-54-56Z
|
||||
sip:
|
||||
kube-rbac-proxy: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
|
||||
manager: quay.io/airshipit/sip:51e7ff85d617c0e94fa98920fdbacce3ad9e6bc0
|
||||
|
@ -6,6 +6,7 @@ resources:
|
||||
|
||||
transformers:
|
||||
- ../../../../composite/monitoring-stack/replacements
|
||||
- ../../../../function/minio/replacements
|
||||
|
||||
namespace: lma-infra
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user