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:
parent
12bcf77d62
commit
2340e4e90f
1 changed files with 8 additions and 6 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue