apiVersion: apps/v1
kind: Deployment
metadata:
name: zitadel-login
namespace: my-namespace
spec:
template:
spec:
initContainers:
- name: wait-for-zitadel
image: curlimages/curl:8.10.1
command:
- sh
- -c
- |
until curl -f -s --http2-prior-knowledge --max-time 5 http://zitadel:8080/debug/ready > /dev/null 2>&1; do
sleep 5
done
apiVersion: apps/v1
kind: Deployment
metadata:
name: zitadel-login
namespace: my-namespace
spec:
template:
spec:
initContainers:
- name: wait-for-zitadel
image: curlimages/curl:8.10.1
command:
- sh
- -c
- |
until curl -f -s --http2-prior-knowledge --max-time 5 http://zitadel:8080/debug/ready > /dev/null 2>&1; do
sleep 5
done