change: Set security context by default to restrictive values

This commit is contained in:
2024-02-04 22:26:43 +01:00
parent 2bc1d19ee1
commit d94fa69459
15 changed files with 69 additions and 39 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: template
repository: file://../template
version: 0.2.1
digest: sha256:674adb8dc3e80e29b3026aa77c48f3371661f8713fad03242cedb27f7c4c6958
generated: "2023-11-04T12:35:44.710232+01:00"
version: 0.4.0
digest: sha256:a075a598e4f3c78ef83e00df74dcce9d59423e03c658d9b5c9e6316285f0e7b7
generated: "2024-02-04T22:19:56.389512+01:00"
+3 -3
View File
@@ -2,18 +2,18 @@ apiVersion: v2
name: zookeeper
description: Simple Zookeeper chart to get started
type: application
version: 0.1.5
version: 0.2.0
maintainers:
- name: Jim Martens
url: https://2martens.de
dependencies:
- name: template
version: 0.2.1
version: 0.4.0
repository: file://../template
annotations:
artifacthub.io/changes: |
- kind: changed
description: Updated template chart
description: Use restrictive security context by default
artifacthub.io/signKey: |
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
+7 -1
View File
@@ -33,7 +33,13 @@ podSecurityContext: {}
# fsGroup: 2000
# Configure security context of the application container
securityContext: {}
securityContext:
seccompProfile:
type: RuntimeDefault
capabilities:
drop: ['ALL']
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
# capabilities:
# drop:
# - ALL