Working protonmail-bridge chart
This commit is contained in:
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: protonmail-bridge-tailscale
|
||||
description: A Helm chart for deploying protonmail-bridge over Tailscale
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "3.12.0-1"
|
||||
version: 0.1.5
|
||||
appVersion: "3.12.0-1-build"
|
||||
|
||||
0
protonmail-bridge-tailscale/README.txt
Normal file
0
protonmail-bridge-tailscale/README.txt
Normal file
@@ -4,8 +4,8 @@ metadata:
|
||||
name: certificates-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.containers.cert-pvc.accessModes}}
|
||||
storageClassName: {{ .Values.containers.cert-pvc.storageClassName }}
|
||||
- {{ .Values.containers.certpvc.accessModes}}
|
||||
storageClassName: {{ .Values.containers.certpvc.storageClassName }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.containers.cert-pvc.storageSize }}
|
||||
storage: {{ .Values.containers.certpvc.storageSize }}
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: {{ .Values.containers.protonmail-bridge.pvc.storageClassName }}
|
||||
storageClassName: {{ .Values.containers.protonmailbridge.pvc.storageClassName }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.containers.protonmail-bridge.pvc.storageSize }}
|
||||
storage: {{ .Values.containers.protonmailbridge.pvc.storageSize }}
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
containers:
|
||||
protonmail-bridge:
|
||||
tag: {{ .Chart.appVersion }}
|
||||
protonmailbridge:
|
||||
pvc:
|
||||
storageClassName: longhorn
|
||||
storageSize: 1Gi
|
||||
storageSize: 50Gi
|
||||
tailscale:
|
||||
pvc:
|
||||
storageClassName: longhorn
|
||||
storageSize: 100Mi
|
||||
hostname: mail
|
||||
cert-pvc:
|
||||
certpvc:
|
||||
accessModes: ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
storageSize: 10Mi
|
||||
|
||||
serviceAccountName: tsauth-reader
|
||||
|
||||
Reference in New Issue
Block a user