summaryrefslogtreecommitdiff
path: root/f3s/protonbridge/helm-chart/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'f3s/protonbridge/helm-chart/templates/deployment.yaml')
-rw-r--r--f3s/protonbridge/helm-chart/templates/deployment.yaml25
1 files changed, 17 insertions, 8 deletions
diff --git a/f3s/protonbridge/helm-chart/templates/deployment.yaml b/f3s/protonbridge/helm-chart/templates/deployment.yaml
index 4f6bb64..9394baf 100644
--- a/f3s/protonbridge/helm-chart/templates/deployment.yaml
+++ b/f3s/protonbridge/helm-chart/templates/deployment.yaml
@@ -108,10 +108,10 @@ spec:
value: /bridge-data/.password-store
ports:
- name: imap
- containerPort: 1143
+ containerPort: 143
protocol: TCP
- name: smtp
- containerPort: 1025
+ containerPort: 25
protocol: TCP
volumeMounts:
- name: protonbridge-data
@@ -126,18 +126,27 @@ spec:
mountPath: /root/.local
subPath: dot-local
readinessProbe:
- tcpSocket:
- port: 1143
+ exec:
+ command:
+ - /bin/bash
+ - -c
+ - "</dev/tcp/127.0.0.1/1143"
initialDelaySeconds: 30
periodSeconds: 15
startupProbe:
- tcpSocket:
- port: 1143
+ exec:
+ command:
+ - /bin/bash
+ - -c
+ - "</dev/tcp/127.0.0.1/1143"
periodSeconds: 10
failureThreshold: 30
livenessProbe:
- tcpSocket:
- port: 1143
+ exec:
+ command:
+ - /bin/bash
+ - -c
+ - "</dev/tcp/127.0.0.1/1143"
initialDelaySeconds: 60
periodSeconds: 30
volumes: