69 lines
2.0 KiB
YAML
69 lines
2.0 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: futureporn
|
|
|
|
---
|
|
apiVersion: source.toolkit.fluxcd.io/v1
|
|
kind: HelmRepository
|
|
metadata:
|
|
name: grafana
|
|
namespace: futureporn
|
|
spec:
|
|
interval: 24h
|
|
url: https://grafana.github.io/helm-charts
|
|
|
|
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: grafana
|
|
namespace: futureporn
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: grafana
|
|
version: "8.0.2"
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: grafana
|
|
namespace: futureporn
|
|
interval: 12h
|
|
values:
|
|
admin:
|
|
existingSecret: grafana
|
|
dashboardProviders:
|
|
dashboardproviders.yaml:
|
|
apiVersion: 1
|
|
providers:
|
|
- name: 'grafana-dashboards-kubernetes'
|
|
orgId: 1
|
|
folder: 'Kubernetes'
|
|
type: file
|
|
disableDeletion: true
|
|
editable: true
|
|
options:
|
|
path: /var/lib/grafana/dashboards/grafana-dashboards-kubernetes
|
|
dashboards:
|
|
grafana-dashboards-kubernetes:
|
|
k8s-system-api-server:
|
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-system-api-server.json
|
|
token: ''
|
|
k8s-system-coredns:
|
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-system-coredns.json
|
|
token: ''
|
|
k8s-views-global:
|
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-global.json
|
|
token: ''
|
|
k8s-views-namespaces:
|
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-namespaces.json
|
|
token: ''
|
|
k8s-views-nodes:
|
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-nodes.json
|
|
token: ''
|
|
k8s-views-pods:
|
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-pods.json
|
|
token: ''
|