Skip to content

Commit c999523

Browse files
committed
Sets basic security context for postgres and bumps chart version
Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
1 parent 643f3f5 commit c999523

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

charts/devguard/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.13.1
18+
version: 0.13.2
1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application. Versions are not expected to
2121
# follow Semantic Versioning. They should reflect the version the application is using.

charts/devguard/templates/postgresql/postgresql-deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ spec:
1616
labels:
1717
app: postgresql
1818
version: "{{ .Chart.AppVersion }}"
19+
automountServiceAccountToken: false
1920
spec:
2021
containers:
2122
- image: "{{ .Values.api.image.repository }}/postgresql:{{ .Chart.AppVersion }}"
2223
name: postgresql
24+
securityContext:
25+
seccompProfile:
26+
type: RuntimeDefault
27+
allowPrivilegeEscalation: false
2328
ports:
2429
- containerPort: 5432
2530
protocol: TCP

0 commit comments

Comments
 (0)