Replace overlay containers (#249)
* move jackett to k8s-container * move sonarr to k8s container * move radarr to k8s container * move qbittorrent to k8s container * move tautulli to k8s container * move sabnzbd to k8s container * nzbget * lidarr * bazarr * nzbhydra * jellyfin * cleanup gpu mounting on common * update common * add gpu selector to jellyfin * add GPU selector to Emby * enable securityContext.runAsNonRoot
This commit is contained in:
@@ -42,12 +42,14 @@ class Test < ChartTest
|
|||||||
it 'defaults to false = runAs 568' do
|
it 'defaults to false = runAs 568' do
|
||||||
jq('.spec.template.spec.securityContext.runAsUser', resource('Deployment')).must_equal 568
|
jq('.spec.template.spec.securityContext.runAsUser', resource('Deployment')).must_equal 568
|
||||||
jq('.spec.template.spec.securityContext.runAsGroup', resource('Deployment')).must_equal 568
|
jq('.spec.template.spec.securityContext.runAsGroup', resource('Deployment')).must_equal 568
|
||||||
|
jq('.spec.template.spec.securityContext.runAsNonRoot', resource('Deployment')).must_equal true
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'can be enabled = runAs nil' do
|
it 'can be enabled = runAs nil' do
|
||||||
chart.value startAsRoot: true
|
chart.value startAsRoot: true
|
||||||
jq('.spec.template.spec.securityContext.runAsUser', resource('Deployment')).must_equal nil
|
jq('.spec.template.spec.securityContext.runAsUser', resource('Deployment')).must_equal nil
|
||||||
jq('.spec.template.spec.securityContext.runAsGroup', resource('Deployment')).must_equal nil
|
jq('.spec.template.spec.securityContext.runAsGroup', resource('Deployment')).must_equal nil
|
||||||
|
jq('.spec.template.spec.securityContext.runAsNonRoot', resource('Deployment')).must_equal nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/bazarr
|
repository: ghcr.io/k8s-at-home/bazarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v0.9.0.5
|
tag: v0.9.3-beta.6
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Most other defaults are set in questions.yaml
|
# Most other defaults are set in questions.yaml
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for Bazarr.
|
# Default values for Bazarr.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/bazarr
|
repository: ghcr.io/k8s-at-home/bazarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v0.9.0.5
|
tag: v0.9.3-beta.6
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -357,6 +357,16 @@ questions:
|
|||||||
type: hostpath
|
type: hostpath
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
# Specify GPU configuration
|
||||||
|
- variable: gpuConfiguration
|
||||||
|
label: "GPU Configuration"
|
||||||
|
group: "Storage and Devices"
|
||||||
|
schema:
|
||||||
|
type: dict
|
||||||
|
$ref:
|
||||||
|
- "definitions/gpuConfiguration"
|
||||||
|
attrs: []
|
||||||
|
|
||||||
- variable: ingress
|
- variable: ingress
|
||||||
label: ""
|
label: ""
|
||||||
group: "Reverse Proxy Configuration"
|
group: "Reverse Proxy Configuration"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/jackett
|
repository: ghcr.io/k8s-at-home/jackett
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v0.17.153
|
tag: v0.17.656
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Most other defaults are set in questions.yaml
|
# Most other defaults are set in questions.yaml
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for Jackett.
|
# Default values for Jackett.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/jackett
|
repository: ghcr.io/k8s-at-home/jackett
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v0.16.2106
|
tag: v0.17.656
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/jellyfin
|
repository: jellyfin/jellyfin
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-10.6.4-1
|
tag: 10.6.4
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Most other defaults are set in questions.yaml
|
# Most other defaults are set in questions.yaml
|
||||||
|
|||||||
@@ -357,6 +357,16 @@ questions:
|
|||||||
type: hostpath
|
type: hostpath
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
# Specify GPU configuration
|
||||||
|
- variable: gpuConfiguration
|
||||||
|
label: "GPU Configuration"
|
||||||
|
group: "Storage and Devices"
|
||||||
|
schema:
|
||||||
|
type: dict
|
||||||
|
$ref:
|
||||||
|
- "definitions/gpuConfiguration"
|
||||||
|
attrs: []
|
||||||
|
|
||||||
- variable: ingress
|
- variable: ingress
|
||||||
label: ""
|
label: ""
|
||||||
group: "Reverse Proxy Configuration"
|
group: "Reverse Proxy Configuration"
|
||||||
|
|||||||
@@ -2,15 +2,13 @@
|
|||||||
# Default values for jellyfin.
|
# Default values for jellyfin.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/jellyfin
|
repository: jellyfin/jellyfin
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-10.6.4-1
|
tag: 10.6.4
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,12 +5,10 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/lidarr
|
repository: ghcr.io/k8s-at-home/lidarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-0.8.0.1886
|
tag: version-0.8.0.1886
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for Lidarr.
|
# Default values for Lidarr.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/lidarr
|
repository: ghcr.io/k8s-at-home/lidarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-0.8.0.1886
|
tag: v0.8.0.2082
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/nzbget
|
repository: ghcr.io/k8s-at-home/nzbget
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v21.0
|
tag: v21.0
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Most other defaults are set in questions.yaml
|
# Most other defaults are set in questions.yaml
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for nzbget.
|
# Default values for nzbget.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/nzbget
|
repository: ghcr.io/k8s-at-home/nzbget
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v21.0
|
tag: v21.0
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/nzbhydra2
|
repository: ghcr.io/k8s-at-home/nzbhydra2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v3.8.1
|
tag: v3.13.0
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for nzbhydra.
|
# Default values for nzbhydra.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/nzbhydra2
|
repository: ghcr.io/k8s-at-home/nzbhydra2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-v3.8.1
|
tag: v3.13.0
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@ version: 1.6.4
|
|||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
>>>>>>> [Common] Refactor Services (#212):charts/qbittorrent/2.0.0/Chart.yaml
|
>>>>>>> [Common] Refactor Services (#212):charts/qbittorrent/2.0.0/Chart.yaml
|
||||||
upstream_version: 7.2.1
|
upstream_version: 7.2.1
|
||||||
appVersion: "latest"
|
appVersion: "auto"
|
||||||
description: qBittorrent is a cross-platform free and open-source BitTorrent client
|
description: qBittorrent is a cross-platform free and open-source BitTorrent client
|
||||||
type: application
|
type: application
|
||||||
deprecated: false
|
deprecated: false
|
||||||
|
|||||||
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/qbittorrent
|
repository: ghcr.io/k8s-at-home/qbittorrent
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: latest
|
tag: v4.3.3
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Most other defaults are set in questions.yaml
|
# Most other defaults are set in questions.yaml
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for qbittorrent.
|
# Default values for qbittorrent.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/qbittorrent
|
repository: ghcr.io/k8s-at-home/qbittorrent
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: latest
|
tag: v4.3.3
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
env: {}
|
env: {}
|
||||||
# TZ: UTC
|
# TZ: UTC
|
||||||
# PUID: 1001
|
# PUID: 1001
|
||||||
|
|||||||
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/radarr
|
repository: ghcr.io/k8s-at-home/radarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-3.0.0.3989
|
tag: v3.0.2.4552
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for Radarr.
|
# Default values for Radarr.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/radarr
|
repository: ghcr.io/k8s-at-home/radarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-3.0.0.3989
|
tag: v3.0.2.4552
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/sabnzbd
|
repository: ghcr.io/k8s-at-home/sabnzbd
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-3.1.0
|
tag: v3.2.0
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Most other defaults are set in questions.yaml
|
# Most other defaults are set in questions.yaml
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for Sabnzbd.
|
# Default values for Sabnzbd.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/sabnzbd
|
repository: ghcr.io/k8s-at-home/sabnzbd
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-3.1.0
|
tag: v3.2.0
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/sonarr
|
repository: ghcr.io/k8s-at-home/sonarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-3.0.4.993
|
tag: v3.0.5.1143
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for Sonarr.
|
# Default values for Sonarr.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/sonarr
|
repository: ghcr.io/k8s-at-home/sonarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-3.0.4.993
|
tag: v3.0.5.1143
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
@@ -5,11 +5,9 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: tautulli/tautulli
|
repository: ghcr.io/k8s-at-home/tautulli
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: v2.6.6
|
tag: v2.6.7
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Most other defaults are set in questions.yaml
|
# Most other defaults are set in questions.yaml
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# Default values for Tautulli.
|
# Default values for Tautulli.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: tautulli/tautulli
|
repository: ghcr.io/k8s-at-home/tautulli
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: v2.6.6
|
tag: v2.6.7
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
startAsRoot: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
port:
|
port:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -98,16 +98,12 @@ The main container included in the controller.
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- include "common.controller.probes" . | nindent 2 }}
|
{{- include "common.controller.probes" . | nindent 2 }}
|
||||||
{{- with .Values.resources }}
|
|
||||||
resources:
|
resources:
|
||||||
|
{{- with .Values.resources }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if and .Values.gpuConfiguration .Values.resources }}
|
{{- if and .Values.gpuConfiguration }}
|
||||||
limits:
|
limits:
|
||||||
{{- toYaml .Values.gpuConfiguration | nindent 14 }}
|
{{- toYaml .Values.gpuConfiguration | nindent 6 }}
|
||||||
{{- else if .Values.gpuConfiguration }}
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
{{- toYaml .Values.gpuConfiguration | nindent 14 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ securityContext:
|
|||||||
{{- if not .Values.startAsRoot }}
|
{{- if not .Values.startAsRoot }}
|
||||||
runAsUser: {{ .Values.PUID }}
|
runAsUser: {{ .Values.PUID }}
|
||||||
runAsGroup: {{ .Values.PGID }}
|
runAsGroup: {{ .Values.PGID }}
|
||||||
|
runAsNonRoot: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.podSecurityContext }}
|
{{- with .Values.podSecurityContext }}
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user