Skip to content

Commit

Permalink
Merge pull request #5 from at88mph/security-fixes
Browse files Browse the repository at this point in the history
fix: append security constraints for posix mapper postgres
  • Loading branch information
at88mph authored Dec 18, 2024
2 parents 9d3af7c + ca1ef28 commit 6cc8ee6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/applications/posix-mapper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0
version: 0.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
5 changes: 5 additions & 0 deletions helm/applications/posix-mapper/templates/postgres-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ spec:
labels:
app: posix-mapper-postgres
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: postgres
image: postgres:13
Expand All @@ -27,6 +30,8 @@ spec:
name: postgresinit
- mountPath: /var/lib/postgresql/data
name: postgresdb
securityContext:
allowPrivilegeEscalation: false
volumes:
- name: postgresdb
{{- toYaml .Values.postgresql.storage.spec | nindent 10 }}
Expand Down

0 comments on commit 6cc8ee6

Please sign in to comment.