adding multiple sources
This commit is contained in:
parent
5902d4890b
commit
fbc62e0564
@ -5,11 +5,25 @@ metadata:
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://prometheus-community.github.io/helm-charts
|
||||
targetRevision: 71.0.0
|
||||
chart: kube-prometheus-stack
|
||||
path: values/overrides.yaml
|
||||
sources:
|
||||
# Source 1: Your Git repo for values
|
||||
- repoURL: https://git.james-mellors.com/mello/Monitoring.git
|
||||
targetRevision: main
|
||||
# Use 'ref' to store values content to be referenced later
|
||||
ref: valuesRef # Arbitrary reference name
|
||||
# Source 2: The Helm chart repository
|
||||
- repoURL: https://prometheus-community.github.io/helm-charts
|
||||
chart: kube-prometheus-stack
|
||||
targetRevision: 71.0.0 # The chart version
|
||||
helm:
|
||||
# Reference the values stored in 'valuesRef' from the first source
|
||||
valueFiles:
|
||||
- $valuesRef/values/overrides.yaml # Path within the Git repo
|
||||
|
||||
# repoURL: https://prometheus-community.github.io/helm-charts
|
||||
# targetRevision: 71.0.0
|
||||
# chart: kube-prometheus-stack
|
||||
# path: values/overrides.yaml
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
|
||||
@ -1215,7 +1215,7 @@ alertmanager:
|
||||
## Using default values from https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml
|
||||
##
|
||||
grafana:
|
||||
enabled: false
|
||||
enabled: true
|
||||
namespaceOverride: ""
|
||||
|
||||
## ForceDeployDatasources Create datasource configmap even if grafana deployment has been disabled
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user