chore: extract grafana to minimal-base

This commit is contained in:
Rob Watson 2025-04-26 21:29:15 +02:00
parent de2ba712c4
commit 902e07d8bf
14 changed files with 23 additions and 10 deletions

View File

@ -44,16 +44,6 @@ resources:
- inflated/prometheus/templates/deploy.yaml
- inflated/prometheus/templates/clusterrolebinding.yaml
- inflated/prometheus/templates/pvc.yaml
# Grafana
- inflated/grafana/templates/serviceaccount.yaml
- inflated/grafana/templates/dashboards-json-configmap.yaml
- inflated/grafana/templates/rolebinding.yaml
- inflated/grafana/templates/deployment.yaml
- inflated/grafana/templates/role.yaml
- inflated/grafana/templates/service.yaml
- inflated/grafana/templates/clusterrole.yaml
- inflated/grafana/templates/configmap.yaml
- inflated/grafana/templates/clusterrolebinding.yaml
# kubernetes-replicator
- inflated/kubernetes-replicator/templates/deployment.yaml
- inflated/kubernetes-replicator/templates/rbac.yaml

View File

@ -12,5 +12,16 @@ resources:
- inflated/metrics-server/templates/clusterrole.yaml
- inflated/metrics-server/templates/clusterrolebinding.yaml
# Grafana
- inflated/grafana/templates/serviceaccount.yaml
- inflated/grafana/templates/dashboards-json-configmap.yaml
- inflated/grafana/templates/rolebinding.yaml
- inflated/grafana/templates/deployment.yaml
- inflated/grafana/templates/role.yaml
- inflated/grafana/templates/service.yaml
- inflated/grafana/templates/clusterrole.yaml
- inflated/grafana/templates/configmap.yaml
- inflated/grafana/templates/clusterrolebinding.yaml
- deploy-netflux-homepage.yaml
- svc-netflux-homepage.yaml

View File

@ -11,3 +11,4 @@ spec:
commonName: k3s.netflux.io
dnsNames:
- k3s.netflux.io
- grafana-k3s.netflux.io

View File

@ -30,7 +30,18 @@ spec:
name: netflux-homepage
port:
name: http
- host: grafana-k3s.netflux.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: grafana
port:
name: service
tls:
- hosts:
- k3s.netflux.io
- grafana-k3s.netflux.io
secretName: prod-ingress-tls