ArgoCD Multi-Source cho Helm Charts External
Vấn đề
Khi dùng Helm chart từ repo ngoài (bitnami, grafana), cần chia source thành 2:
- Chart source: repo có sẵn chart
- Values source: gitops repo chứa values
Multi-source
1apiVersion: argoproj.io/v1alpha1
2kind: Application
3spec:
4 sources:
5 - repoURL: https://charts.bitnami.com/bitnami
6 chart: nginx
7 targetRevision: 18.*
8 - repoURL: https://gitlab.tingee.vn/gitops
9 ref: values
10 destination:
11 server: https://kubernetes.default.svc