I have a set of applications I would like to deploy on several eks clusters like Prometheus, Grafana and others. I have this setup inside 1 git repo that has an app of apps that each cluster could reference to.
My issue is having small changes in the value for these deployments, lets say for the Grafana deployment I want a unique url per cluster:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: grafana
namespace: argocd
spec:
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- PrunePropagationPolicy=foreground
- CreateNamespace=true
retry:
limit: 2
backoff:
duration: 5s
maxDuration: 3m0s
factor: 2
destination:
server: "https://kubernetes.default.svc"
namespace:
source:
repoURL:
targetRevision:
chart:
helm:
releaseName: grafana
values: |
...
...
hostname/url: {cluster_name}.grafana.... <-----
...
...
so far the only way i see doing this is by having multiple values files, is there a way to make it read values from config maps or maybe pass down a variable through the app of apps to make this work?
any help is appreciated