* fix(tailscale): switch to the new golang binary * temp, let CI install tailscale * test without secret * change key name in secret * change socket to varrun, which is the default that `tailscale` command looks for * test with varrun enabled * remove tty * don't try to install TS * dont load authkey as env * update vpn template * remove /var/lib as it now uses kubesecret for the state * bump
21 lines
502 B
Smarty
21 lines
502 B
Smarty
{{/* Define the secret */}}
|
|
{{- define "tailscale.secret" -}}
|
|
|
|
{{- $secretName := printf "%s-tailscale-secret" (include "tc.common.names.fullname" .) }}
|
|
|
|
---
|
|
{{/* This secrets are loaded on tailscale */}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
type: Opaque
|
|
metadata:
|
|
name: {{ $secretName }}
|
|
labels:
|
|
{{- include "tc.common.labels" . | nindent 4 }}
|
|
data:
|
|
{{- with .Values.tailscale.authkey }}
|
|
{{/* Name of the authkey is crucial, don't change it */}}
|
|
authkey: {{ . | b64enc }}
|
|
{{- end }}
|
|
{{- end }}
|