diff --git a/components/prometheus/namespace.yaml b/components/prometheus/namespace.yaml new file mode 100644 index 0000000..a88587f --- /dev/null +++ b/components/prometheus/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: prometheus-system diff --git a/components/prometheus/prometheus-community_helmrepository.yaml b/components/prometheus/prometheus-community_helmrepository.yaml new file mode 100644 index 0000000..9427d46 --- /dev/null +++ b/components/prometheus/prometheus-community_helmrepository.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: prometheus-community + namespace: prometheus-system +spec: + interval: 20m0s + url: https://prometheus-community.github.io/helm-charts + diff --git a/components/prometheus/prometheus-stack.yaml b/components/prometheus/prometheus-stack.yaml new file mode 100644 index 0000000..9af802f --- /dev/null +++ b/components/prometheus/prometheus-stack.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: prometheus-stack + namespace: prometheus-system +spec: + chart: + spec: + chart: prometheus-stack + sourceRef: + kind: HelmRepository + name: prometheus-community + interval: 20m0s + +