diff --git a/charts/plex/1.6.16/.helmignore b/charts/plex/1.6.17/.helmignore similarity index 100% rename from charts/plex/1.6.16/.helmignore rename to charts/plex/1.6.17/.helmignore diff --git a/charts/plex/1.6.16/Chart.lock b/charts/plex/1.6.17/Chart.lock similarity index 100% rename from charts/plex/1.6.16/Chart.lock rename to charts/plex/1.6.17/Chart.lock diff --git a/charts/plex/1.6.16/Chart.yaml b/charts/plex/1.6.17/Chart.yaml similarity index 96% rename from charts/plex/1.6.16/Chart.yaml rename to charts/plex/1.6.17/Chart.yaml index c7fb0a5c6e..7c05c78393 100644 --- a/charts/plex/1.6.16/Chart.yaml +++ b/charts/plex/1.6.17/Chart.yaml @@ -14,4 +14,4 @@ sources: - https://hub.docker.com/r/plexinc/pms-docker/ - https://github.com/k8s-at-home/charts/tree/master/charts/plex upstream_version: 2.1.0 -version: 1.6.16 +version: 1.6.17 diff --git a/charts/plex/1.6.16/README.md b/charts/plex/1.6.17/README.md similarity index 100% rename from charts/plex/1.6.16/README.md rename to charts/plex/1.6.17/README.md diff --git a/charts/plex/1.6.16/app-readme.md b/charts/plex/1.6.17/app-readme.md similarity index 100% rename from charts/plex/1.6.16/app-readme.md rename to charts/plex/1.6.17/app-readme.md diff --git a/charts/plex/1.6.16/charts/common-2112.0.0.tgz b/charts/plex/1.6.17/charts/common-2112.0.0.tgz similarity index 100% rename from charts/plex/1.6.16/charts/common-2112.0.0.tgz rename to charts/plex/1.6.17/charts/common-2112.0.0.tgz diff --git a/charts/plex/1.6.16/default_values.yaml b/charts/plex/1.6.17/default_values.yaml similarity index 100% rename from charts/plex/1.6.16/default_values.yaml rename to charts/plex/1.6.17/default_values.yaml diff --git a/charts/plex/1.6.16/ix_values.yaml b/charts/plex/1.6.17/ix_values.yaml similarity index 100% rename from charts/plex/1.6.16/ix_values.yaml rename to charts/plex/1.6.17/ix_values.yaml diff --git a/charts/plex/1.6.16/migrations/migrate_from_1.0.0 b/charts/plex/1.6.17/migrations/migrate_from_1.0.0 similarity index 100% rename from charts/plex/1.6.16/migrations/migrate_from_1.0.0 rename to charts/plex/1.6.17/migrations/migrate_from_1.0.0 diff --git a/test/plex/1.6.16/questions.yaml b/charts/plex/1.6.17/questions.yaml similarity index 97% rename from test/plex/1.6.16/questions.yaml rename to charts/plex/1.6.17/questions.yaml index 038cbb0b60..4d8c383aad 100644 --- a/test/plex/1.6.16/questions.yaml +++ b/charts/plex/1.6.17/questions.yaml @@ -318,3 +318,9 @@ questions: schema: type: hostpath required: true + - variable: readOnly + label: "Read Only" + description: "Mount hostpath in read-only mode" + schema: + type: boolean + default: false diff --git a/charts/plex/1.6.16/templates/NOTES.txt b/charts/plex/1.6.17/templates/NOTES.txt similarity index 100% rename from charts/plex/1.6.16/templates/NOTES.txt rename to charts/plex/1.6.17/templates/NOTES.txt diff --git a/test/plex/1.6.16/templates/deployment.yaml b/charts/plex/1.6.17/templates/deployment.yaml similarity index 96% rename from test/plex/1.6.16/templates/deployment.yaml rename to charts/plex/1.6.17/templates/deployment.yaml index 20b2140b29..1297b53cf5 100644 --- a/test/plex/1.6.16/templates/deployment.yaml +++ b/charts/plex/1.6.17/templates/deployment.yaml @@ -22,6 +22,9 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} {{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }} - name: extrappvolume-{{ $index }} mountPath: {{ $hostPathConfiguration.mountPath }} + {{ if $hostPathConfiguration.readOnly }} + readOnly: {{ $hostPathConfiguration.readOnly }} + {{ end }} {{ end }} ports: - name: pms diff --git a/charts/plex/1.6.16/templates/probe_config.yaml b/charts/plex/1.6.17/templates/probe_config.yaml similarity index 100% rename from charts/plex/1.6.16/templates/probe_config.yaml rename to charts/plex/1.6.17/templates/probe_config.yaml diff --git a/charts/plex/1.6.16/templates/service-tcp.yaml b/charts/plex/1.6.17/templates/service-tcp.yaml similarity index 100% rename from charts/plex/1.6.16/templates/service-tcp.yaml rename to charts/plex/1.6.17/templates/service-tcp.yaml diff --git a/charts/plex/1.6.16/templates/service-udp.yaml b/charts/plex/1.6.17/templates/service-udp.yaml similarity index 100% rename from charts/plex/1.6.16/templates/service-udp.yaml rename to charts/plex/1.6.17/templates/service-udp.yaml diff --git a/test/plex/1.6.16/test_values.yaml b/charts/plex/1.6.17/test_values.yaml similarity index 87% rename from test/plex/1.6.16/test_values.yaml rename to charts/plex/1.6.17/test_values.yaml index d8e83aa2bc..675d8f056e 100644 --- a/test/plex/1.6.16/test_values.yaml +++ b/charts/plex/1.6.17/test_values.yaml @@ -19,6 +19,10 @@ dnsConfig: options: [] emptyDirVolumes: true environmentVariables: [] +extraAppVolumeMounts: + - mountPath: /mnt/extras + hostPath: /mnt/extras + readOnly: true gpuConfiguration: {} hostNetwork: false image: diff --git a/charts/plex/1.6.16/values.yaml b/charts/plex/1.6.17/values.yaml similarity index 100% rename from charts/plex/1.6.16/values.yaml rename to charts/plex/1.6.17/values.yaml diff --git a/test/plex/1.6.16/.helmignore b/test/plex/1.6.17/.helmignore similarity index 100% rename from test/plex/1.6.16/.helmignore rename to test/plex/1.6.17/.helmignore diff --git a/test/plex/1.6.16/Chart.lock b/test/plex/1.6.17/Chart.lock similarity index 100% rename from test/plex/1.6.16/Chart.lock rename to test/plex/1.6.17/Chart.lock diff --git a/test/plex/1.6.16/Chart.yaml b/test/plex/1.6.17/Chart.yaml similarity index 96% rename from test/plex/1.6.16/Chart.yaml rename to test/plex/1.6.17/Chart.yaml index c7fb0a5c6e..7c05c78393 100644 --- a/test/plex/1.6.16/Chart.yaml +++ b/test/plex/1.6.17/Chart.yaml @@ -14,4 +14,4 @@ sources: - https://hub.docker.com/r/plexinc/pms-docker/ - https://github.com/k8s-at-home/charts/tree/master/charts/plex upstream_version: 2.1.0 -version: 1.6.16 +version: 1.6.17 diff --git a/test/plex/1.6.16/README.md b/test/plex/1.6.17/README.md similarity index 100% rename from test/plex/1.6.16/README.md rename to test/plex/1.6.17/README.md diff --git a/test/plex/1.6.16/app-readme.md b/test/plex/1.6.17/app-readme.md similarity index 100% rename from test/plex/1.6.16/app-readme.md rename to test/plex/1.6.17/app-readme.md diff --git a/test/plex/1.6.16/charts/common-2112.0.0.tgz b/test/plex/1.6.17/charts/common-2112.0.0.tgz similarity index 100% rename from test/plex/1.6.16/charts/common-2112.0.0.tgz rename to test/plex/1.6.17/charts/common-2112.0.0.tgz diff --git a/test/plex/1.6.16/default_values.yaml b/test/plex/1.6.17/default_values.yaml similarity index 100% rename from test/plex/1.6.16/default_values.yaml rename to test/plex/1.6.17/default_values.yaml diff --git a/test/plex/1.6.16/ix_values.yaml b/test/plex/1.6.17/ix_values.yaml similarity index 100% rename from test/plex/1.6.16/ix_values.yaml rename to test/plex/1.6.17/ix_values.yaml diff --git a/test/plex/1.6.16/migrations/migrate_from_1.0.0 b/test/plex/1.6.17/migrations/migrate_from_1.0.0 similarity index 100% rename from test/plex/1.6.16/migrations/migrate_from_1.0.0 rename to test/plex/1.6.17/migrations/migrate_from_1.0.0 diff --git a/charts/plex/1.6.16/questions.yaml b/test/plex/1.6.17/questions.yaml similarity index 97% rename from charts/plex/1.6.16/questions.yaml rename to test/plex/1.6.17/questions.yaml index 038cbb0b60..4d8c383aad 100644 --- a/charts/plex/1.6.16/questions.yaml +++ b/test/plex/1.6.17/questions.yaml @@ -318,3 +318,9 @@ questions: schema: type: hostpath required: true + - variable: readOnly + label: "Read Only" + description: "Mount hostpath in read-only mode" + schema: + type: boolean + default: false diff --git a/test/plex/1.6.16/templates/NOTES.txt b/test/plex/1.6.17/templates/NOTES.txt similarity index 100% rename from test/plex/1.6.16/templates/NOTES.txt rename to test/plex/1.6.17/templates/NOTES.txt diff --git a/charts/plex/1.6.16/templates/deployment.yaml b/test/plex/1.6.17/templates/deployment.yaml similarity index 96% rename from charts/plex/1.6.16/templates/deployment.yaml rename to test/plex/1.6.17/templates/deployment.yaml index 20b2140b29..1297b53cf5 100644 --- a/charts/plex/1.6.16/templates/deployment.yaml +++ b/test/plex/1.6.17/templates/deployment.yaml @@ -22,6 +22,9 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} {{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }} - name: extrappvolume-{{ $index }} mountPath: {{ $hostPathConfiguration.mountPath }} + {{ if $hostPathConfiguration.readOnly }} + readOnly: {{ $hostPathConfiguration.readOnly }} + {{ end }} {{ end }} ports: - name: pms diff --git a/test/plex/1.6.16/templates/probe_config.yaml b/test/plex/1.6.17/templates/probe_config.yaml similarity index 100% rename from test/plex/1.6.16/templates/probe_config.yaml rename to test/plex/1.6.17/templates/probe_config.yaml diff --git a/test/plex/1.6.16/templates/service-tcp.yaml b/test/plex/1.6.17/templates/service-tcp.yaml similarity index 100% rename from test/plex/1.6.16/templates/service-tcp.yaml rename to test/plex/1.6.17/templates/service-tcp.yaml diff --git a/test/plex/1.6.16/templates/service-udp.yaml b/test/plex/1.6.17/templates/service-udp.yaml similarity index 100% rename from test/plex/1.6.16/templates/service-udp.yaml rename to test/plex/1.6.17/templates/service-udp.yaml diff --git a/charts/plex/1.6.16/test_values.yaml b/test/plex/1.6.17/test_values.yaml similarity index 87% rename from charts/plex/1.6.16/test_values.yaml rename to test/plex/1.6.17/test_values.yaml index d8e83aa2bc..675d8f056e 100644 --- a/charts/plex/1.6.16/test_values.yaml +++ b/test/plex/1.6.17/test_values.yaml @@ -19,6 +19,10 @@ dnsConfig: options: [] emptyDirVolumes: true environmentVariables: [] +extraAppVolumeMounts: + - mountPath: /mnt/extras + hostPath: /mnt/extras + readOnly: true gpuConfiguration: {} hostNetwork: false image: diff --git a/test/plex/1.6.16/values.yaml b/test/plex/1.6.17/values.yaml similarity index 100% rename from test/plex/1.6.16/values.yaml rename to test/plex/1.6.17/values.yaml