From 1e043b90eef96dd22856314ac2bcfa784e07f9bb Mon Sep 17 00:00:00 2001 From: "M. Rehan" Date: Mon, 25 Jul 2022 00:31:20 +0500 Subject: [PATCH] Allow consuming gpu in photoprism --- charts/photoprism/{1.0.5 => 1.0.6}/Chart.lock | 0 charts/photoprism/{1.0.5 => 1.0.6}/Chart.yaml | 2 +- charts/photoprism/{1.0.5 => 1.0.6}/README.md | 0 charts/photoprism/{1.0.5 => 1.0.6}/app-readme.md | 0 .../{1.0.5 => 1.0.6}/charts/common-2207.0.0.tgz | Bin charts/photoprism/{1.0.5 => 1.0.6}/ix_values.yaml | 0 charts/photoprism/{1.0.5 => 1.0.6}/questions.yaml | 12 ++++++++++++ .../{1.0.5 => 1.0.6}/templates/deployment.yaml | 0 .../{1.0.5 => 1.0.6}/templates/pre-install-job.yaml | 0 .../{1.0.5 => 1.0.6}/templates/secret.yaml | 0 .../{1.0.5 => 1.0.6}/templates/service.yaml | 0 .../templates/tests/deployment-check.yaml | 0 charts/photoprism/{1.0.5 => 1.0.6}/test_values.yaml | 0 test/photoprism/{1.0.5 => 1.0.6}/Chart.lock | 0 test/photoprism/{1.0.5 => 1.0.6}/Chart.yaml | 2 +- test/photoprism/{1.0.5 => 1.0.6}/README.md | 0 test/photoprism/{1.0.5 => 1.0.6}/app-readme.md | 0 .../{1.0.5 => 1.0.6}/charts/common-2207.0.0.tgz | Bin test/photoprism/{1.0.5 => 1.0.6}/ix_values.yaml | 0 test/photoprism/{1.0.5 => 1.0.6}/questions.yaml | 12 ++++++++++++ .../{1.0.5 => 1.0.6}/templates/deployment.yaml | 0 .../{1.0.5 => 1.0.6}/templates/pre-install-job.yaml | 0 .../{1.0.5 => 1.0.6}/templates/secret.yaml | 0 .../{1.0.5 => 1.0.6}/templates/service.yaml | 0 .../templates/tests/deployment-check.yaml | 0 test/photoprism/{1.0.5 => 1.0.6}/test_values.yaml | 0 26 files changed, 26 insertions(+), 2 deletions(-) rename charts/photoprism/{1.0.5 => 1.0.6}/Chart.lock (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/Chart.yaml (95%) rename charts/photoprism/{1.0.5 => 1.0.6}/README.md (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/app-readme.md (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/charts/common-2207.0.0.tgz (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/ix_values.yaml (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/questions.yaml (96%) rename charts/photoprism/{1.0.5 => 1.0.6}/templates/deployment.yaml (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/templates/pre-install-job.yaml (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/templates/secret.yaml (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/templates/service.yaml (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/templates/tests/deployment-check.yaml (100%) rename charts/photoprism/{1.0.5 => 1.0.6}/test_values.yaml (100%) rename test/photoprism/{1.0.5 => 1.0.6}/Chart.lock (100%) rename test/photoprism/{1.0.5 => 1.0.6}/Chart.yaml (95%) rename test/photoprism/{1.0.5 => 1.0.6}/README.md (100%) rename test/photoprism/{1.0.5 => 1.0.6}/app-readme.md (100%) rename test/photoprism/{1.0.5 => 1.0.6}/charts/common-2207.0.0.tgz (100%) rename test/photoprism/{1.0.5 => 1.0.6}/ix_values.yaml (100%) rename test/photoprism/{1.0.5 => 1.0.6}/questions.yaml (96%) rename test/photoprism/{1.0.5 => 1.0.6}/templates/deployment.yaml (100%) rename test/photoprism/{1.0.5 => 1.0.6}/templates/pre-install-job.yaml (100%) rename test/photoprism/{1.0.5 => 1.0.6}/templates/secret.yaml (100%) rename test/photoprism/{1.0.5 => 1.0.6}/templates/service.yaml (100%) rename test/photoprism/{1.0.5 => 1.0.6}/templates/tests/deployment-check.yaml (100%) rename test/photoprism/{1.0.5 => 1.0.6}/test_values.yaml (100%) diff --git a/charts/photoprism/1.0.5/Chart.lock b/charts/photoprism/1.0.6/Chart.lock similarity index 100% rename from charts/photoprism/1.0.5/Chart.lock rename to charts/photoprism/1.0.6/Chart.lock diff --git a/charts/photoprism/1.0.5/Chart.yaml b/charts/photoprism/1.0.6/Chart.yaml similarity index 95% rename from charts/photoprism/1.0.5/Chart.yaml rename to charts/photoprism/1.0.6/Chart.yaml index 4802bcd575..b1b7ec8e24 100644 --- a/charts/photoprism/1.0.5/Chart.yaml +++ b/charts/photoprism/1.0.6/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "20220121" icon: https://photoprism.app/static/icons/logo.svg description: AI-powered app for browsing, organizing & sharing your photo collection. name: photoprism -version: 1.0.5 +version: 1.0.6 dependencies: - name: common repository: file://../../../library/common/2207.0.0 diff --git a/charts/photoprism/1.0.5/README.md b/charts/photoprism/1.0.6/README.md similarity index 100% rename from charts/photoprism/1.0.5/README.md rename to charts/photoprism/1.0.6/README.md diff --git a/charts/photoprism/1.0.5/app-readme.md b/charts/photoprism/1.0.6/app-readme.md similarity index 100% rename from charts/photoprism/1.0.5/app-readme.md rename to charts/photoprism/1.0.6/app-readme.md diff --git a/charts/photoprism/1.0.5/charts/common-2207.0.0.tgz b/charts/photoprism/1.0.6/charts/common-2207.0.0.tgz similarity index 100% rename from charts/photoprism/1.0.5/charts/common-2207.0.0.tgz rename to charts/photoprism/1.0.6/charts/common-2207.0.0.tgz diff --git a/charts/photoprism/1.0.5/ix_values.yaml b/charts/photoprism/1.0.6/ix_values.yaml similarity index 100% rename from charts/photoprism/1.0.5/ix_values.yaml rename to charts/photoprism/1.0.6/ix_values.yaml diff --git a/charts/photoprism/1.0.5/questions.yaml b/charts/photoprism/1.0.6/questions.yaml similarity index 96% rename from charts/photoprism/1.0.5/questions.yaml rename to charts/photoprism/1.0.6/questions.yaml index 3149d64b81..545be434a9 100644 --- a/charts/photoprism/1.0.5/questions.yaml +++ b/charts/photoprism/1.0.6/questions.yaml @@ -7,6 +7,8 @@ groups: description: "Networking Configuration for photo prism" - name: "Advanced DNS Settings" description: "Configure DNS settings" + - name: "Resource Reservation" + description: "Specify resources to be allocated to workload" - name: "Resource Limits" description: "Set CPU/memory limits for Kubernetes Pod" @@ -256,6 +258,16 @@ questions: type: hostpath required: true + # Specify GPU configuration + - variable: gpuConfiguration + label: "GPU Configuration" + group: "Resource Reservation" + schema: + type: dict + $ref: + - "definitions/gpuConfiguration" + attrs: [] + - variable: enableResourceLimits label: "Enable Pod resource limits" group: "Resource Limits" diff --git a/charts/photoprism/1.0.5/templates/deployment.yaml b/charts/photoprism/1.0.6/templates/deployment.yaml similarity index 100% rename from charts/photoprism/1.0.5/templates/deployment.yaml rename to charts/photoprism/1.0.6/templates/deployment.yaml diff --git a/charts/photoprism/1.0.5/templates/pre-install-job.yaml b/charts/photoprism/1.0.6/templates/pre-install-job.yaml similarity index 100% rename from charts/photoprism/1.0.5/templates/pre-install-job.yaml rename to charts/photoprism/1.0.6/templates/pre-install-job.yaml diff --git a/charts/photoprism/1.0.5/templates/secret.yaml b/charts/photoprism/1.0.6/templates/secret.yaml similarity index 100% rename from charts/photoprism/1.0.5/templates/secret.yaml rename to charts/photoprism/1.0.6/templates/secret.yaml diff --git a/charts/photoprism/1.0.5/templates/service.yaml b/charts/photoprism/1.0.6/templates/service.yaml similarity index 100% rename from charts/photoprism/1.0.5/templates/service.yaml rename to charts/photoprism/1.0.6/templates/service.yaml diff --git a/charts/photoprism/1.0.5/templates/tests/deployment-check.yaml b/charts/photoprism/1.0.6/templates/tests/deployment-check.yaml similarity index 100% rename from charts/photoprism/1.0.5/templates/tests/deployment-check.yaml rename to charts/photoprism/1.0.6/templates/tests/deployment-check.yaml diff --git a/charts/photoprism/1.0.5/test_values.yaml b/charts/photoprism/1.0.6/test_values.yaml similarity index 100% rename from charts/photoprism/1.0.5/test_values.yaml rename to charts/photoprism/1.0.6/test_values.yaml diff --git a/test/photoprism/1.0.5/Chart.lock b/test/photoprism/1.0.6/Chart.lock similarity index 100% rename from test/photoprism/1.0.5/Chart.lock rename to test/photoprism/1.0.6/Chart.lock diff --git a/test/photoprism/1.0.5/Chart.yaml b/test/photoprism/1.0.6/Chart.yaml similarity index 95% rename from test/photoprism/1.0.5/Chart.yaml rename to test/photoprism/1.0.6/Chart.yaml index 4802bcd575..b1b7ec8e24 100644 --- a/test/photoprism/1.0.5/Chart.yaml +++ b/test/photoprism/1.0.6/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "20220121" icon: https://photoprism.app/static/icons/logo.svg description: AI-powered app for browsing, organizing & sharing your photo collection. name: photoprism -version: 1.0.5 +version: 1.0.6 dependencies: - name: common repository: file://../../../library/common/2207.0.0 diff --git a/test/photoprism/1.0.5/README.md b/test/photoprism/1.0.6/README.md similarity index 100% rename from test/photoprism/1.0.5/README.md rename to test/photoprism/1.0.6/README.md diff --git a/test/photoprism/1.0.5/app-readme.md b/test/photoprism/1.0.6/app-readme.md similarity index 100% rename from test/photoprism/1.0.5/app-readme.md rename to test/photoprism/1.0.6/app-readme.md diff --git a/test/photoprism/1.0.5/charts/common-2207.0.0.tgz b/test/photoprism/1.0.6/charts/common-2207.0.0.tgz similarity index 100% rename from test/photoprism/1.0.5/charts/common-2207.0.0.tgz rename to test/photoprism/1.0.6/charts/common-2207.0.0.tgz diff --git a/test/photoprism/1.0.5/ix_values.yaml b/test/photoprism/1.0.6/ix_values.yaml similarity index 100% rename from test/photoprism/1.0.5/ix_values.yaml rename to test/photoprism/1.0.6/ix_values.yaml diff --git a/test/photoprism/1.0.5/questions.yaml b/test/photoprism/1.0.6/questions.yaml similarity index 96% rename from test/photoprism/1.0.5/questions.yaml rename to test/photoprism/1.0.6/questions.yaml index 3149d64b81..545be434a9 100644 --- a/test/photoprism/1.0.5/questions.yaml +++ b/test/photoprism/1.0.6/questions.yaml @@ -7,6 +7,8 @@ groups: description: "Networking Configuration for photo prism" - name: "Advanced DNS Settings" description: "Configure DNS settings" + - name: "Resource Reservation" + description: "Specify resources to be allocated to workload" - name: "Resource Limits" description: "Set CPU/memory limits for Kubernetes Pod" @@ -256,6 +258,16 @@ questions: type: hostpath required: true + # Specify GPU configuration + - variable: gpuConfiguration + label: "GPU Configuration" + group: "Resource Reservation" + schema: + type: dict + $ref: + - "definitions/gpuConfiguration" + attrs: [] + - variable: enableResourceLimits label: "Enable Pod resource limits" group: "Resource Limits" diff --git a/test/photoprism/1.0.5/templates/deployment.yaml b/test/photoprism/1.0.6/templates/deployment.yaml similarity index 100% rename from test/photoprism/1.0.5/templates/deployment.yaml rename to test/photoprism/1.0.6/templates/deployment.yaml diff --git a/test/photoprism/1.0.5/templates/pre-install-job.yaml b/test/photoprism/1.0.6/templates/pre-install-job.yaml similarity index 100% rename from test/photoprism/1.0.5/templates/pre-install-job.yaml rename to test/photoprism/1.0.6/templates/pre-install-job.yaml diff --git a/test/photoprism/1.0.5/templates/secret.yaml b/test/photoprism/1.0.6/templates/secret.yaml similarity index 100% rename from test/photoprism/1.0.5/templates/secret.yaml rename to test/photoprism/1.0.6/templates/secret.yaml diff --git a/test/photoprism/1.0.5/templates/service.yaml b/test/photoprism/1.0.6/templates/service.yaml similarity index 100% rename from test/photoprism/1.0.5/templates/service.yaml rename to test/photoprism/1.0.6/templates/service.yaml diff --git a/test/photoprism/1.0.5/templates/tests/deployment-check.yaml b/test/photoprism/1.0.6/templates/tests/deployment-check.yaml similarity index 100% rename from test/photoprism/1.0.5/templates/tests/deployment-check.yaml rename to test/photoprism/1.0.6/templates/tests/deployment-check.yaml diff --git a/test/photoprism/1.0.5/test_values.yaml b/test/photoprism/1.0.6/test_values.yaml similarity index 100% rename from test/photoprism/1.0.5/test_values.yaml rename to test/photoprism/1.0.6/test_values.yaml