Skip to content

Commit

Permalink
Update nginx-configmap.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiraalA authored Feb 22, 2024
1 parent c99d993 commit fa5fa39
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions deployments/nginx/nginx-configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ data:
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
set_real_ip_from 0.0.0.0/0;
Expand Down Expand Up @@ -420,13 +420,18 @@ spec:
securityContext:
runAsNonRoot: true
containers:
- image: mariadb:10.6
- image: mariadb:10.6@sha256:xxxx
name: mariadb
imagePullPolicy: Always
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsUser: 10336
allowPrivilegeEscalation: false
seccompProfile:
type: docker/default # Ensure that the seccomp profile is set to docker/default or runtime/default
capabilities:
drop:
- ALL # Dropping all capabilities
resources:
limits:
cpu: "0.5"
Expand Down Expand Up @@ -454,6 +459,14 @@ spec:
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
livenessProbe:
tcpSocket:
port: 3306
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
volumes:
- name: mariadb-persistent-storage
persistentVolumeClaim:
Expand Down

0 comments on commit fa5fa39

Please sign in to comment.