Working protonmail-bridge chart
This commit is contained in:
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: protonmail-bridge-tailscale
|
name: protonmail-bridge-tailscale
|
||||||
description: A Helm chart for deploying protonmail-bridge over Tailscale
|
description: A Helm chart for deploying protonmail-bridge over Tailscale
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.5
|
||||||
appVersion: "3.12.0-1"
|
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
|
name: certificates-pvc
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- {{ .Values.containers.cert-pvc.accessModes}}
|
- {{ .Values.containers.certpvc.accessModes}}
|
||||||
storageClassName: {{ .Values.containers.cert-pvc.storageClassName }}
|
storageClassName: {{ .Values.containers.certpvc.storageClassName }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.containers.cert-pvc.storageSize }}
|
storage: {{ .Values.containers.certpvc.storageSize }}
|
||||||
|
|||||||
@@ -4,26 +4,32 @@ metadata:
|
|||||||
name: protonmail-bridge-tailscale
|
name: protonmail-bridge-tailscale
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
strategy:
|
selector:
|
||||||
type: Recreate
|
matchLabels:
|
||||||
|
app: protonmail-bridge-tailscale
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: protonmail-bridge-tailscale
|
||||||
spec:
|
spec:
|
||||||
|
serviceAccountName: {{ .Values.serviceAccountName }}
|
||||||
containers:
|
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
|
name: protonmail-bridge
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /root
|
- mountPath: /root
|
||||||
name: protonmail
|
name: protonmail
|
||||||
- mountPath: /certs
|
- mountPath: /certs
|
||||||
name: certificates
|
name: certificates
|
||||||
- image: tailscale/tailscale:{{ .Values.containers.tailscale.tag }}
|
- image: tailscale/tailscale
|
||||||
name: ts-protonmail-bridge
|
name: ts-protonmail-bridge
|
||||||
env:
|
env:
|
||||||
- name: TS_HOSTNAME
|
- name: TS_HOSTNAME
|
||||||
value: {{ .Values.containers.tailscale.hostname }}
|
value: {{ .Values.containers.tailscale.hostname }}
|
||||||
- name: TS_STATE_DIR
|
- name: TS_STATE_DIR
|
||||||
value: /var/lib/tailscale
|
value: "/var/lib/tailscale"
|
||||||
- name: TS_AUTHKEY
|
- name: TS_AUTHKEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -35,7 +41,9 @@ spec:
|
|||||||
name: tailscale-auth
|
name: tailscale-auth
|
||||||
key: TS_EXTRA_ARGS
|
key: TS_EXTRA_ARGS
|
||||||
- name: TS_USERSPACE
|
- name: TS_USERSPACE
|
||||||
value: false
|
value: "false"
|
||||||
|
- name: TS_KUBE_SECRET
|
||||||
|
value: "tailscale-auth"
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
add: ["NET_ADMIN", "SYS_MODULE"]
|
add: ["NET_ADMIN", "SYS_MODULE"]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
storageClassName: {{ .Values.containers.protonmail-bridge.pvc.storageClassName }}
|
storageClassName: {{ .Values.containers.protonmailbridge.pvc.storageClassName }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.containers.protonmail-bridge.pvc.storageSize }}
|
storage: {{ .Values.containers.protonmailbridge.pvc.storageSize }}
|
||||||
|
|||||||
@@ -1,16 +1,15 @@
|
|||||||
containers:
|
containers:
|
||||||
protonmail-bridge:
|
protonmailbridge:
|
||||||
tag: {{ .Chart.appVersion }}
|
|
||||||
pvc:
|
pvc:
|
||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
storageSize: 1Gi
|
storageSize: 50Gi
|
||||||
tailscale:
|
tailscale:
|
||||||
pvc:
|
pvc:
|
||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
storageSize: 100Mi
|
storageSize: 100Mi
|
||||||
hostname: mail
|
hostname: mail
|
||||||
cert-pvc:
|
certpvc:
|
||||||
accessModes: ReadWriteOnce
|
accessModes: ReadWriteOnce
|
||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
storageSize: 10Mi
|
storageSize: 10Mi
|
||||||
|
serviceAccountName: tsauth-reader
|
||||||
|
|||||||
Reference in New Issue
Block a user