Split into file each. Change namespace to monitoring.
This commit is contained in:
parent
f3b551b8b8
commit
6efa45ec9a
4 changed files with 19 additions and 17 deletions
|
@ -5,4 +5,6 @@ resources:
|
||||||
- operators/prometheus.yaml
|
- operators/prometheus.yaml
|
||||||
- operators/mariadb.yaml
|
- operators/mariadb.yaml
|
||||||
- dns/bind.yaml
|
- dns/bind.yaml
|
||||||
- monitoring/grafana-loki.yaml
|
- monitoring/provider.yaml
|
||||||
|
- monitoring/grafana.yaml
|
||||||
|
- monitoring/loki.yaml
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
||||||
name: grafana
|
name: grafana
|
||||||
namespace: observability
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
interval: 30m
|
interval: 30m
|
||||||
chart:
|
chart:
|
||||||
|
|
|
@ -1,23 +1,9 @@
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: observability
|
|
||||||
---
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
|
||||||
kind: HelmRepository
|
|
||||||
metadata:
|
|
||||||
name: grafana
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
url: https://grafana.github.io/helm-charts
|
|
||||||
interval: 1h
|
|
||||||
---
|
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
||||||
name: loki
|
name: loki
|
||||||
namespace: observability
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
interval: 30m
|
interval: 30m
|
||||||
chart:
|
chart:
|
||||||
|
|
14
deployments/monitoring/provider.yaml
Normal file
14
deployments/monitoring/provider.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: monitoring
|
||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: grafana
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
url: https://grafana.github.io/helm-charts
|
||||||
|
interval: 1h
|
Loading…
Add table
Add a link
Reference in a new issue