fix(headscale): traefik https-backend support
This commit is contained in:
parent
b63544a291
commit
7ccdb0cb2f
4 changed files with 17 additions and 4 deletions
|
@ -3,7 +3,7 @@ name: headscale
|
||||||
description: An open source, self-hosted implementation of the Tailscale control server.
|
description: An open source, self-hosted implementation of the Tailscale control server.
|
||||||
icon: https://raw.githubusercontent.com/juanfont/headscale/56a7b1e34952c3e0306a134b2be9b4277f5d8d6e/docs/logo/headscale3-dots.svg
|
icon: https://raw.githubusercontent.com/juanfont/headscale/56a7b1e34952c3e0306a134b2be9b4277f5d8d6e/docs/logo/headscale3-dots.svg
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
appVersion: "0.22.3"
|
appVersion: "0.22.3"
|
||||||
keywords:
|
keywords:
|
||||||
- headscale
|
- headscale
|
||||||
|
|
|
@ -4,8 +4,12 @@ metadata:
|
||||||
name: {{ include "headscale.fullname" . }}
|
name: {{ include "headscale.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "headscale.labels" . | nindent 4 }}
|
{{- include "headscale.labels" . | nindent 4 }}
|
||||||
{{- with .Values.service.annotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
{{- if (.Capabilities.APIVersions.Has "traefik.io/v1alpha1/ServersTransport") }}
|
||||||
|
"traefik.ingress.kubernetes.io/service.serversscheme": "https"
|
||||||
|
"traefik.ingress.kubernetes.io/service.serverstransport": {{ printf "%s-%s@kubernetescrd" .Release.Namespace (include "headscale.fullname" .) | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.service.annotations }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
|
8
headscale/templates/traefik.yaml
Normal file
8
headscale/templates/traefik.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{{- if (.Capabilities.APIVersions.Has "traefik.io/v1alpha1/ServersTransport") }}
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: ServersTransport
|
||||||
|
metadata:
|
||||||
|
name: {{ include "headscale.fullname" . }}
|
||||||
|
spec:
|
||||||
|
serverName: {{ .Values.headscale.certmanager.dnsNames | first }}
|
||||||
|
{{- end }}
|
|
@ -70,6 +70,7 @@ headscale:
|
||||||
paths: []
|
paths: []
|
||||||
# auto_update_enabled: true
|
# auto_update_enabled: true
|
||||||
update_frequency: 24h
|
update_frequency: 24h
|
||||||
|
disable_check_updates: true
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
servicemonitor:
|
servicemonitor:
|
||||||
|
|
Loading…
Add table
Reference in a new issue