Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion values/oauth2-proxy/oauth2-proxy.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ extraInitContainers:
image: curlimages/curl:latest
{{- end }}
command: ["/bin/sh","-c"]
args: ["while [ $(curl -sw '%{http_code}' {{ $v._derived.oidcBaseUrl }} -o /dev/null) -ne 200 ]; do sleep 2; echo 'Waiting for Keycloak OIDC Issuer URL'; done"]
# Polls the backchannel URL, not the public issuer: this container is sidecar-less, so it can
# neither resolve the keycloak ServiceEntry host nor trust an Otomi-issued cert. Both reach the
# same realm, so the gate is unchanged β€” only the route is.
args: ["while [ $(curl -sw '%{http_code}' {{ $v._derived.oidcBaseUrlBackchannel }} -o /dev/null) -ne 200 ]; do sleep 2; echo 'Waiting for Keycloak OIDC Issuer URL'; done"]

{{- if $v.otomi.linodeLkeImageRepository }}
initContainers:
Expand Down