Merge pull request #94 from sirius0xdev/feat/expose-grafana-dashboard
feat: expose Grafana dashboard via Tailscale ProxyGroup
This commit is contained in:
commit
84a4913b9a
3 changed files with 12 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ spec:
|
|||
service:
|
||||
type: ClusterIP
|
||||
port: 3000
|
||||
annotations:
|
||||
tailscale.com/proxy-group: grafana
|
||||
|
||||
# Sidecar to auto-load dashboards from ConfigMaps
|
||||
sidecar:
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- proxygroup-rtx6000.yaml
|
||||
- proxygroup-grafana.yaml
|
||||
|
|
|
|||
9
infrastructure/tailnet/proxygroup-grafana.yaml
Normal file
9
infrastructure/tailnet/proxygroup-grafana.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: tailscale.com/v1alpha1
|
||||
kind: ProxyGroup
|
||||
metadata:
|
||||
name: grafana
|
||||
spec:
|
||||
type: ingress
|
||||
hostnamePrefix: grafana-dashboard
|
||||
tags:
|
||||
- tag:k8s-operator
|
||||
Loading…
Add table
Reference in a new issue