add security contexts to download ns
This commit is contained in:
parent
5e75c92d26
commit
7955255e9b
|
@ -18,16 +18,20 @@ spec:
|
||||||
image:
|
image:
|
||||||
repository: lscr.io/linuxserver/bazarr
|
repository: lscr.io/linuxserver/bazarr
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TZ: America/New_York
|
TZ: America/New_York
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
http:
|
http:
|
||||||
port: 6767
|
port: 6767
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -44,6 +48,7 @@ spec:
|
||||||
- hosts:
|
- hosts:
|
||||||
- *host
|
- *host
|
||||||
secretName: wildcard-main-tls
|
secretName: wildcard-main-tls
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -51,6 +56,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Kubernetes/bazarr
|
hostPath: /mnt/MainPool/Kubernetes/bazarr
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 5m
|
cpu: 5m
|
||||||
|
|
|
@ -18,20 +18,24 @@ spec:
|
||||||
image:
|
image:
|
||||||
repository: lscr.io/linuxserver/mylar3
|
repository: lscr.io/linuxserver/mylar3
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TZ: America/New_York
|
TZ: America/New_York
|
||||||
PGID: "1000"
|
PGID: "1000"
|
||||||
PUID: "1000"
|
PUID: "1000"
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
http:
|
http:
|
||||||
port: 8090
|
port: 8090
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: false
|
enabled: false
|
||||||
startup:
|
startup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -48,6 +52,7 @@ spec:
|
||||||
- hosts:
|
- hosts:
|
||||||
- *host
|
- *host
|
||||||
secretName: wildcard-main-tls
|
secretName: wildcard-main-tls
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -60,6 +65,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Media
|
hostPath: /mnt/MainPool/Media
|
||||||
mountPath: /storage
|
mountPath: /storage
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
|
|
|
@ -100,6 +100,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Kubernetes/prowlarr
|
hostPath: /mnt/MainPool/Kubernetes/prowlarr
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2m
|
cpu: 2m
|
||||||
|
|
|
@ -36,6 +36,12 @@ spec:
|
||||||
add:
|
add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
image: caseyscarborough/qbittorrent-exporter:latest
|
image: caseyscarborough/qbittorrent-exporter:latest
|
||||||
env:
|
env:
|
||||||
|
@ -94,6 +100,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Kubernetes/qbittorrent
|
hostPath: /mnt/MainPool/Kubernetes/qbittorrent
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
# resources:
|
# resources:
|
||||||
# requests:
|
# requests:
|
||||||
# cpu: 2m
|
# cpu: 2m
|
||||||
|
|
|
@ -107,6 +107,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Media
|
hostPath: /mnt/MainPool/Media
|
||||||
mountPath: /storage
|
mountPath: /storage
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
|
|
|
@ -105,6 +105,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Media
|
hostPath: /mnt/MainPool/Media
|
||||||
mountPath: /storage
|
mountPath: /storage
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
|
|
|
@ -107,6 +107,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Media
|
hostPath: /mnt/MainPool/Media
|
||||||
mountPath: /storage
|
mountPath: /storage
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2m
|
cpu: 2m
|
||||||
|
|
|
@ -48,6 +48,13 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Media
|
hostPath: /mnt/MainPool/Media
|
||||||
mountPath: /storage
|
mountPath: /storage
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 2m
|
cpu: 2m
|
||||||
|
|
Loading…
Reference in New Issue