chore(immich): allow to disable machine-learning container (#4132)

This commit is contained in:
Stavros Kois
2022-10-19 14:59:30 +03:00
committed by GitHub
parent fe0a553d9c
commit b67bf30071
3 changed files with 8 additions and 0 deletions
+5
View File
@@ -59,6 +59,11 @@ questions:
description: simple description: simple
- value: verbose - value: verbose
description: verbose description: verbose
- variable: enable_ml
label: Enable Machine Learning Container
schema:
type: boolean
default: true
# Include{containerConfig} # Include{containerConfig}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
@@ -9,7 +9,9 @@
{{- $_ := set .Values.additionalContainers "proxy" (include "immich.proxy" . | fromYaml) -}} {{- $_ := set .Values.additionalContainers "proxy" (include "immich.proxy" . | fromYaml) -}}
{{- $_ := set .Values.additionalContainers "web" (include "immich.web" . | fromYaml) -}} {{- $_ := set .Values.additionalContainers "web" (include "immich.web" . | fromYaml) -}}
{{- if .Values.immich.enable_ml -}}
{{- $_ := set .Values.additionalContainers "ml" (include "immich.ml" . | fromYaml) -}} {{- $_ := set .Values.additionalContainers "ml" (include "immich.ml" . | fromYaml) -}}
{{- end -}}
{{- $_ := set .Values.additionalContainers "microservices" (include "immich.microservices" . | fromYaml) -}} {{- $_ := set .Values.additionalContainers "microservices" (include "immich.microservices" . | fromYaml) -}}
{{/* Render the templates */}} {{/* Render the templates */}}
+1
View File
@@ -32,6 +32,7 @@ podSecurityContext:
runAsGroup: 0 runAsGroup: 0
immich: immich:
enable_ml: true
public_login_page_message: Immich public_login_page_message: Immich
disable_reverse_geocoding: false disable_reverse_geocoding: false
reverse_geocoding_precision: 3 reverse_geocoding_precision: 3