mirror of
https://github.com/truenas/charts.git
synced 2026-04-05 11:48:55 +08:00
fix urls
This commit is contained in:
committed by
Stavros Kois
parent
ee21e3d9b9
commit
2dc5408361
@@ -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,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
|
||||
|
||||
@@ -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,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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user