mirror of
https://github.com/truenas/charts.git
synced 2026-04-08 21:28:46 +08:00
* initial commit * add some todo * extend config * remove typesense url * add microservices * add proxy and typesense * ML * fix configmap * fixup config * change range * one more * add some inits * ts dont need to wait for server * wait web * add redis * fix redis * wrong space * type * add redis service * conditional services * fix redis... * add caps * fix capabilities * fix service * add tests * fix conditional pods * fix upgrade_strategy * fix config * lint * whops * update strategy * make robust * cleaner * fix regex * Take a copy of the resources before we start doing modifications * regen commontgz * bump versions * add pullPolicy * regen common * bump version * bump * bump helm * regen common * Update library/ix-dev/community/immich/values.yaml * bump * update resources validation
18 lines
403 B
Smarty
18 lines
403 B
Smarty
{{- define "immich.wait.init" -}}
|
|
{{- $url := .url }}
|
|
wait-url:
|
|
enabled: true
|
|
type: init
|
|
imageSelector: bashImage
|
|
command:
|
|
- /bin/ash
|
|
- -c
|
|
- |
|
|
echo "Pinging [{{ $url }}] until it is ready..."
|
|
until wget --spider --quiet "{{ $url }}"; do
|
|
echo "Waiting for [{{ $url }}] to be ready..."
|
|
sleep 2
|
|
done
|
|
echo "URL [{{ $url }}] is ready!"
|
|
{{- end -}}
|