(feat) Standardise and Harden default app securitycontext (#1028)

* Apply security hardened defaults to values.yaml for all apps

* Add default common securityContext to all apps

* Adjust securityContext defaults in questions.yaml, according to values.yaml

* Add default common podSecurityContext to all apps

* Clean whitespace

* Clean more whitespace

* Adjust podSecurityContext defaults in questions.yaml, according to values.yaml

* fix pgadmin

Co-authored-by: Stavros kois <s.kois@outlook.com>
This commit is contained in:
Kjeld Schouten-Lebbing
2021-09-26 20:05:21 +02:00
committed by GitHub
co-authored by Stavros kois
parent fe03d574fc
commit acf510ea13
314 changed files with 2675 additions and 3091 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: "0.9.8"
appVersion: 0.9.8
dependencies:
- name: common
repository: https://truecharts.org/
version: 7.0.14
repository: https://truecharts.org
version: 8.0.7
deprecated: false
description: This application runs as a daemon on your download host. It checks for
completed downloads and extracts them so Radarr, Lidarr, Sonarr, and Readarr may
@@ -26,4 +26,4 @@ sources:
- https://github.com/davidnewhall/unpackerr
- https://hub.docker.com/r/golift/unpackerr
type: application
version: 2.0.2
version: 3.0.0
@@ -24,8 +24,6 @@ probes:
startup:
enabled: false
##
# Most other defaults are set in questions.yaml
# For other options please refer to the wiki, default_values.yaml or the common library chart
+3 -8
View File
@@ -64,9 +64,6 @@ questions:
default: "002"
# Include{containerConfig}
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
@@ -415,8 +412,6 @@ questions:
schema:
type: string
# Include{ingressList}
- variable: securityContext
@@ -434,12 +429,12 @@ questions:
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: false
default: true
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: true
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
@@ -490,6 +485,7 @@ questions:
description: "OnRootMismatch"
- value: "Always"
description: "Always"
- variable: resources
group: "Resources and Devices"
label: ""
@@ -531,7 +527,6 @@ questions:
default: "50Mi"
valid_chars: '^([0-9.]+)([EPTGMK]i?|[EPTGMK]?|e[0-9]+)$'
- variable: autoscaling
group: "Resources and Devices"
label: "(Advanced) Horizontal Pod Autoscaler"
-14
View File
@@ -5,19 +5,6 @@ image:
pullPolicy: IfNotPresent
tag: v0.9.8@sha256:2bf65067fea86c36438b741bfea1cec69faeea02dd4811c0d58e12243a263b24
securityContext:
privileged: false
readOnlyRootFilesystem: false
allowPrivilegeEscalation: true
runAsNonRoot: true
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
supplementalGroups: []
fsGroupChangePolicy: "OnRootMismatch"
service:
main:
enabled: false
@@ -41,7 +28,6 @@ probes:
startup:
enabled: false
persistence:
downloads:
enabled: true