mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-26 11:11:01 +00:00
Merge 7480d887cca9c5beae6d68622c1b96b9d5603972 into b3455fa99a5e8d07133d5140017ec7c49f032a07
This commit is contained in:
commit
f8b408db26
1161
cmd/k8s-operator/deploy/chart/monitoring/tailscale-dashboard.json
Normal file
1161
cmd/k8s-operator/deploy/chart/monitoring/tailscale-dashboard.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,18 @@
|
||||
{{- if .Values.grafanaDashboard.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-grafana-dashboard
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- with .Values.grafanaDashboard.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
annotations:
|
||||
{{- with .Values.grafanaDashboard.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
tailscale.json: |-
|
||||
{{ .Files.Get "monitoring/tailscale-dashboard.json" | indent 4 }}
|
||||
{{- end }}
|
@ -29,6 +29,16 @@ oauthSecretVolume: {}
|
||||
# https://helm.sh/docs/chart_best_practices/custom_resource_definitions/
|
||||
installCRDs: true
|
||||
|
||||
# Grafana dashboard configuration
|
||||
grafanaDashboard:
|
||||
enabled: false
|
||||
# Labels to be added to the ConfigMap
|
||||
labels:
|
||||
grafana_dashboard: "1"
|
||||
# Annotations to be added to the ConfigMap
|
||||
annotations:
|
||||
grafana_folder: "Tailscale"
|
||||
|
||||
operatorConfig:
|
||||
# ACL tag that operator will be tagged with. Operator must be made owner of
|
||||
# these tags
|
||||
|
Loading…
x
Reference in New Issue
Block a user