Introduce ReadOnlyRootFilesystem for Tornjak frontend (#110)
Signed-off-by: Mariusz Sabath <[email protected]>
This commit is contained in:
@@ -56,6 +56,8 @@ spec:
|
||||
mountPath: {{ .Values.workingDir }}/node_modules/.cache
|
||||
- name: env
|
||||
mountPath: {{ .Values.workingDir }}/build/tmp
|
||||
- name: logs
|
||||
mountPath: /opt/app-root/src/.npm/
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
@@ -77,3 +79,5 @@ spec:
|
||||
emptyDir: {}
|
||||
- name: env
|
||||
emptyDir: {}
|
||||
- name: logs
|
||||
emptyDir: {}
|
||||
|
||||
@@ -124,7 +124,7 @@ tornjak-frontend:
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
readOnlyRootFilesystem: false
|
||||
readOnlyRootFilesystem: true
|
||||
capabilities:
|
||||
drop: [ALL]
|
||||
seccompProfile:
|
||||
|
||||
Reference in New Issue
Block a user