Revert "Remove everything!"

This reverts commit f11c3f820d.
This commit is contained in:
2024-08-06 00:51:46 +01:00
parent f11c3f820d
commit 470621ab72
17 changed files with 225 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: grafana
spec:
chart:
spec:
chart: grafana
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: grafana-repo
version: 8.4.1
interval: 1m0s
targetNamespace: monitoring
values:
persistence:
enabled: true
storageClassName: longhorn

View File

@@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: grafana
spec:
entryPoints:
- web
routes:
- match: Host(`grafana.k3s`)
kind: Rule
services:
- name: monitoring-grafana
namespace: monitoring
nativeLB: true
kind: Service
port: 80

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helmrelease.yaml
- ingress.yaml