Working protonmail-bridge chart

This commit is contained in:
2024-09-27 23:53:48 +01:00
parent 9c5534885b
commit 24b27631da
6 changed files with 25 additions and 18 deletions

View File

@@ -4,26 +4,32 @@ metadata:
name: protonmail-bridge-tailscale
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: protonmail-bridge-tailscale
template:
metadata:
labels:
app: protonmail-bridge-tailscale
spec:
serviceAccountName: {{ .Values.serviceAccountName }}
containers:
- image: shenxn/protonmail-bridge:{{ .Values.containers.protonmail-bridge.tag }}
- image: schklom/protonmail-bridge:latest
#Temp fix while the orig repo githu actions are fixed
# - image: shenxn/protonmail-bridge:{{ .Chart.AppVersion }}
name: protonmail-bridge
volumeMounts:
- mountPath: /root
name: protonmail
- mountPath: /certs
name: certificates
- image: tailscale/tailscale:{{ .Values.containers.tailscale.tag }}
- image: tailscale/tailscale
name: ts-protonmail-bridge
env:
- name: TS_HOSTNAME
value: {{ .Values.containers.tailscale.hostname }}
- name: TS_STATE_DIR
value: /var/lib/tailscale
value: "/var/lib/tailscale"
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
@@ -35,7 +41,9 @@ spec:
name: tailscale-auth
key: TS_EXTRA_ARGS
- name: TS_USERSPACE
value: false
value: "false"
- name: TS_KUBE_SECRET
value: "tailscale-auth"
securityContext:
capabilities:
add: ["NET_ADMIN", "SYS_MODULE"]