fix(protonmail-bridge) add installations docs + added imap port. (#4158)

* fix(protonmail-bridge) add installations docs + added imap

* update ver to v2.3.0 | major upgrade.

* cleanup

* fix commands in docs

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97
2022-10-22 23:37:24 +03:00
committed by GitHub
co-authored by Stavros Kois
parent 058a19cae9
commit 30c0b87280
4 changed files with 84 additions and 25 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "1.8.10"
appVersion: "2.3.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@@ -20,7 +20,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/protonmail-bridge
- https://github.com/shenxn/protonmail-bridge-docker
- https://hub.docker.com/r/shenxn/protonmail-bridge
version: 6.0.37
version: 7.0.0
annotations:
truecharts.org/catagories: |
- media
@@ -0,0 +1,23 @@
# Installation Notes
- In order to run this chart, you need to be a _paid_ end-user for [proton](https://proton.me/mail/bridge).
- Shell into the app after installing it to complete the login phase.
- Run the following commands in order:
```terminal
chmod +x entrypoint.sh && ps aux | grep [b]ridge | awk '{print $2}' | xargs -I {} kill -9 {} && ./entrypoint.sh init
```
```terminal
login
```
- You can then login with your username and password.
:::tip
To save time and energy, you can paste the password by holding SHIFT and pressing INSERT.
Password field is still blank, just hit enter as normal.
:::
+51 -22
View File
@@ -13,21 +13,21 @@ questions:
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
label: "main Service"
description: "The main service"
label: main Service
description: The main service
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: "Enable the service"
label: Enable the service
schema:
type: boolean
default: false
hidden: true
- variable: smtp
label: "smtp Service"
description: "The smtp service"
label: SMTP Service
description: The smtp service
schema:
additional_attrs: true
type: dict
@@ -35,33 +35,62 @@ questions:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: smtp
label: "smtp Service Port Configuration"
label: SMTP Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 25
required: true
# Include{advancedPortTCP}
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
label: Target Port
description: The internal(!) port on the container the Application runs on
schema:
type: int
default: 25
- variable: imap
label: IMAP Service
description: The IMAP service
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: imap
label: IMAP Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 143
required: true
# Include{advancedPortTCP}
- variable: targetPort
label: Target Port
description: The internal(!) port on the container the Application runs on
schema:
type: int
default: 143
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
label: App Config Storage
description: Stores the Application Configuration.
schema:
additional_attrs: true
type: dict
@@ -73,42 +102,42 @@ questions:
# Include{security}
# Include{securityContextAdvancedRoot}
- variable: privileged
label: "Privileged mode"
label: Privileged mode
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
label: ReadOnly Root Filesystem
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
label: Allow Privilege Escalation
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
label: runAsNonRoot
schema:
type: boolean
default: false
# Include{securityContextAdvanced}
# Include{podSecurityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
+8 -1
View File
@@ -1,6 +1,6 @@
image:
repository: tccr.io/truecharts/protonmail-bridge
tag: v1.8.10-1@sha256:58a54002123cc9a83cfb3170deb0a1dbf4cedabdced09a9c6bcafc19ee4b5631
tag: v2.3.0@sha256:539b1c9188dfccd2bc10efa63e4e009ec8ac131732bcfa0d596c1ca37ba84816
pullPolicy: IfNotPresent
securityContext:
@@ -24,6 +24,13 @@ service:
enabled: true
port: 25
targetPort: 25
imap:
enabled: true
ports:
imap:
enabled: true
port: 143
targetPort: 143
persistence:
config: