From d56ccb2fa69b89ab13b6476d48dfd1b3a2effc79 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 30 Apr 2024 15:37:49 +0200 Subject: [PATCH] fix(forgejo): SSH_LISTEN_PORT --- forgejo/config/values.forgejo.yaml | 2 +- umami/resources/deployment.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/forgejo/config/values.forgejo.yaml b/forgejo/config/values.forgejo.yaml index ae561d4..1a45bb8 100644 --- a/forgejo/config/values.forgejo.yaml +++ b/forgejo/config/values.forgejo.yaml @@ -54,6 +54,7 @@ gitea: LANDING_PAGE: explore ENABLE_GZIP: 'true' ENABLE_PPROF: 'true' + SSH_LISTEN_PORT: 2222 service: DISABLE_REGISTRATION: 'true' DEFAULT_KEEP_EMAIL_PRIVATE: 'true' @@ -107,7 +108,6 @@ gitea: metrics: ENABLED: true - redis-cluster: enabled: false diff --git a/umami/resources/deployment.yaml b/umami/resources/deployment.yaml index a81720f..892a2fa 100644 --- a/umami/resources/deployment.yaml +++ b/umami/resources/deployment.yaml @@ -36,6 +36,18 @@ spec: - containerPort: 3000 protocol: TCP name: web + livenessProbe: + httpGet: + path: /api/heartbeat + port: 3000 + initialDelaySeconds: 15 + periodSeconds: 20 + readinessProbe: + httpGet: + path: /api/heartbeat + port: 3000 + initialDelaySeconds: 5 + periodSeconds: 10 securityContext: allowPrivilegeEscalation: false capabilities: