enhanced security

Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de>
This commit is contained in:
Christian Kotzbauer 2022-03-19 14:38:46 +01:00
parent d9c4cb1642
commit cadd1eb1d8
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v2
name: postgres-operator
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
version: 1.7.2
version: 1.7.3
appVersion: 1.7.1
home: https://github.com/zalando/postgres-operator
sources:

View File

@ -394,6 +394,9 @@ securityContext:
runAsNonRoot: true
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
# Affinity for pod assignment
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity