From 2340e4e90f336da59c41298215d3ea7696f40c8a Mon Sep 17 00:00:00 2001 From: mrwho Date: Mon, 20 Jul 2026 01:07:37 +0300 Subject: [PATCH] fix(helm): adjust timezone, PostgreSQL paths, and probe timeouts for Moscow deployment Update container timezone to Europe/Moscow, correct PostgreSQL data directory path, adjust TLS key file permissions, and extend health check timeouts to accommodate slower startup environments. --- roles/uyuni/tasks/helm.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/roles/uyuni/tasks/helm.yml b/roles/uyuni/tasks/helm.yml index ba162ca..382f39d 100644 --- a/roles/uyuni/tasks/helm.yml +++ b/roles/uyuni/tasks/helm.yml @@ -818,7 +818,7 @@ containers: - env: - name: TZ - value: Etc/UTC + value: Europe/Moscow - name: POSTGRES_USER valueFrom: secretKeyRef: @@ -853,7 +853,7 @@ imagePullPolicy: IfNotPresent name: db volumeMounts: - - mountPath: /var/lib/pgsql/data + - mountPath: /var/lib/pgsql name: var-pgsql - mountPath: /etc/pki name: tls-secret @@ -869,7 +869,8 @@ - key: tls.crt path: tls/certs/spacewalk.crt - key: tls.key - mode: 256 + mode: 0640 +# mode: 256 path: tls/private/pg-spacewalk.key - key: ca.crt path: trust/anchors/LOCAL-RHN-ORG-TRUSTED-SSL-CERT @@ -910,7 +911,7 @@ - name: container value: oci - name: TZ - value: Etc/UTC + value: Europe/Moscow - name: ADMIN_USER valueFrom: secretKeyRef: @@ -1014,13 +1015,14 @@ command: - /usr/bin/startup-check.sh periodSeconds: 10 - timeoutSeconds: 5 + timeoutSeconds: 600 + initialDelaySeconds: 360 failureThreshold: 3600 livenessProbe: exec: command: - /usr/bin/liveness-check.sh - timeoutSeconds: 5 + timeoutSeconds: 60 failureThreshold: 5 periodSeconds: 60 readinessProbe: