fix: use kustomize for vc sync on redis

This commit is contained in:
Jonas Juselius
2024-02-06 15:41:57 +01:00
parent 7450a9903e
commit 0e67a9992c
7 changed files with 88 additions and 9 deletions
+21 -9
View File
@@ -22,13 +22,25 @@ spec:
server: https://kubernetes.default.svc
namespace: redis
sources:
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 18.9.1
chart: redis
helm:
valueFiles:
- $values/redis/values.yaml
# - repoURL: https://charts.bitnami.com/bitnami
# targetRevision: 18.9.1
# chart: redis
# helm:
# valueFiles:
# - $values/redis/values.yaml
# - repoURL: https://gitlab.com/oceanbox/manifests.git
# targetRevision: HEAD
# path: charts/redis/{{ env }}
# ref: values
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: charts/redis/{{ env }}
ref: values
targetRevision: dev
path: charts/redis
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: '{{ env }}'
- name: hostname
string: {{ hostname }}
- name: chart
string: bitnami/redis