Skip to content

Commit

Permalink
Merge pull request #447 from bci-oss/chore/trg-0-4-7-read-only
Browse files Browse the repository at this point in the history
Add readOnlyRootFilesystem to securitry context
  • Loading branch information
tunacicek authored Jul 16, 2024
2 parents 048d80e + f0a0b20 commit 71dd4bc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/registry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sources:
- https://github.com/eclipse-tractusx/sldt-digital-twin-registry

type: application
version: 0.5.1
version: 0.5.2
appVersion: 0.5.0

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/registry/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# registry

![Version: 0.3.15](https://img.shields.io/badge/Version-0.3.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.12-M1](https://img.shields.io/badge/AppVersion-0.3.12--M1-informational?style=flat-square)
![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0](https://img.shields.io/badge/AppVersion-0.5.0-informational?style=flat-square)

**Tractus-X Digital Twin Registry Helm Chart**<br/>
This Helm charts install the Digital Twin Registry and its dependencies.
Expand Down
6 changes: 6 additions & 0 deletions charts/registry/templates/registry/registry-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,11 @@ spec:
{{- end }}
resources:
{{ .Values.registry.resources | toYaml | indent 12 }}
volumeMounts:
- mountPath: /tmp
name: empty-tmp
volumes:
- name: empty-tmp
emptyDir: {}
imagePullSecrets:
{{ .Values.registry.imagePullSecrets | toYaml | indent 8 }}
1 change: 1 addition & 0 deletions charts/registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ registry:
securityContext:
runAsUser: 100
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true

postgresql:
primary:
Expand Down

0 comments on commit 71dd4bc

Please sign in to comment.