Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions k8s/platform-dev/keycloak-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,26 @@ spec:
httpGet:
path: /health/ready
port: management
initialDelaySeconds: 20
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 6
livenessProbe:
httpGet:
path: /health/live
port: management
initialDelaySeconds: 30
initialDelaySeconds: 60
periodSeconds: 15
timeoutSeconds: 3
failureThreshold: 6
startupProbe:
httpGet:
path: /health/ready
port: management
initialDelaySeconds: 10
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 12
failureThreshold: 30
resources:
requests:
cpu: 250m
Expand Down
29 changes: 0 additions & 29 deletions k8s/platform-dev/postgres-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,6 @@ spec:
fsGroup: 999
seccompProfile:
type: RuntimeDefault
initContainers:
- name: postgres-permissions
image: busybox:1.36
command:
- sh
- -c
- |
set -eu
mkdir -p /var/lib/postgresql/data/pgdata /var/run/postgresql
chown -R 999:999 /var/lib/postgresql/data /var/run/postgresql
securityContext:
runAsUser: 0
runAsGroup: 0
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
volumeMounts:
- name: postgres-data
mountPath: /var/lib/postgresql/data
- name: postgres-run
mountPath: /var/run/postgresql
containers:
- name: postgres
image: postgres:16-alpine
Expand Down Expand Up @@ -94,13 +72,6 @@ spec:
name: platform-secret
key: KEYCLOAK_DB_PASSWORD
securityContext:
runAsNonRoot: true
runAsUser: 999
runAsGroup: 999
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
volumeMounts:
- name: postgres-data
mountPath: /var/lib/postgresql/data
Expand Down