Stavros kois 1 жил өмнө
parent
commit
2dc5408361

+ 1 - 1
library/ix-dev/community/immich/templates/_immich-machinelearning.tpl

@@ -1,6 +1,6 @@
 {{- define "immich.machinelearning.workload" -}}
 {{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
+{{- $url := printf "http://%v-server:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
 workload:
   machinelearning:
     enabled: true

+ 1 - 1
library/ix-dev/community/immich/templates/_immich-microservices.tpl

@@ -1,6 +1,6 @@
 {{- define "immich.microservices.workload" -}}
 {{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
+{{- $url := printf "http://%v-server:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
 workload:
   microservices:
     enabled: true

+ 3 - 3
library/ix-dev/community/immich/templates/_immich-server.tpl

@@ -31,17 +31,17 @@ workload:
             liveness:
               enabled: true
               type: http
-              path: /server-info/ping
+              path: /api/server-info/ping
               port: {{ .Values.immichNetwork.webuiPort }}
             readiness:
               enabled: true
               type: http
-              path: /server-info/ping
+              path: /api/server-info/ping
               port: {{ .Values.immichNetwork.webuiPort }}
             startup:
               enabled: true
               type: http
-              path: /server-info/ping
+              path: /api/server-info/ping
               port: {{ .Values.immichNetwork.webuiPort }}
       initContainers:
       {{- include "ix.v1.common.app.postgresWait" (dict "name" "postgres-wait"

+ 1 - 1
library/ix-dev/community/immich/templates/_immich-typesense.tpl

@@ -1,6 +1,6 @@
 {{- define "immich.typesense.workload" -}}
 {{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
-{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
+{{- $url := printf "http://%v-server:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
 workload:
   typesense:
     enabled: true

+ 1 - 1
library/ix-dev/community/immich/templates/_waitURL.tpl

@@ -9,7 +9,7 @@ wait-url:
     - -c
     - |
       echo "Pinging [{{ $url }}] until it is ready..."
-      until wget --spider --quiet "{{ $url }}"; do
+      until wget --spider --quiet --timeout=3 --tries=1 "{{ $url }}"; do
         echo "Waiting for [{{ $url }}] to be ready..."
         sleep 2
       done