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.
This commit is contained in:
mrwho 2026-07-20 01:07:37 +03:00
parent 12bcf77d62
commit 2340e4e90f

View file

@ -818,7 +818,7 @@
containers: containers:
- env: - env:
- name: TZ - name: TZ
value: Etc/UTC value: Europe/Moscow
- name: POSTGRES_USER - name: POSTGRES_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
@ -853,7 +853,7 @@
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: db name: db
volumeMounts: volumeMounts:
- mountPath: /var/lib/pgsql/data - mountPath: /var/lib/pgsql
name: var-pgsql name: var-pgsql
- mountPath: /etc/pki - mountPath: /etc/pki
name: tls-secret name: tls-secret
@ -869,7 +869,8 @@
- key: tls.crt - key: tls.crt
path: tls/certs/spacewalk.crt path: tls/certs/spacewalk.crt
- key: tls.key - key: tls.key
mode: 256 mode: 0640
# mode: 256
path: tls/private/pg-spacewalk.key path: tls/private/pg-spacewalk.key
- key: ca.crt - key: ca.crt
path: trust/anchors/LOCAL-RHN-ORG-TRUSTED-SSL-CERT path: trust/anchors/LOCAL-RHN-ORG-TRUSTED-SSL-CERT
@ -910,7 +911,7 @@
- name: container - name: container
value: oci value: oci
- name: TZ - name: TZ
value: Etc/UTC value: Europe/Moscow
- name: ADMIN_USER - name: ADMIN_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
@ -1014,13 +1015,14 @@
command: command:
- /usr/bin/startup-check.sh - /usr/bin/startup-check.sh
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5 timeoutSeconds: 600
initialDelaySeconds: 360
failureThreshold: 3600 failureThreshold: 3600
livenessProbe: livenessProbe:
exec: exec:
command: command:
- /usr/bin/liveness-check.sh - /usr/bin/liveness-check.sh
timeoutSeconds: 5 timeoutSeconds: 60
failureThreshold: 5 failureThreshold: 5
periodSeconds: 60 periodSeconds: 60
readinessProbe: readinessProbe: