deploy #10

Merged
bstein merged 271 commits from deploy into main 2026-01-19 19:04:01 +00:00
Showing only changes of commit 6ba509dbe1 - Show all commits

View File

@ -78,7 +78,7 @@ spec:
if [ -n "$id" ]; then
echo "Updating existing auth source id=$id"
$BIN -c "$APPINI" admin auth update-oauth \
if ! $BIN -c "$APPINI" admin auth update-oauth \
--id "$id" \
--name keycloak \
--provider openidConnect \
@ -90,10 +90,12 @@ spec:
--required-claim-value "" \
--group-claim-name groups \
--admin-group admin \
--skip-local-2fa
--skip-local-2fa; then
echo "OIDC update failed; continuing without blocking startup" >&2
fi
else
echo "Creating keycloak auth source"
$BIN -c "$APPINI" admin auth add-oauth \
if ! $BIN -c "$APPINI" admin auth add-oauth \
--name keycloak \
--provider openidConnect \
--key "$CLIENT_ID" \
@ -104,7 +106,9 @@ spec:
--required-claim-value "" \
--group-claim-name groups \
--admin-group admin \
--skip-local-2fa
--skip-local-2fa; then
echo "OIDC create failed; continuing without blocking startup" >&2
fi
fi
volumeMounts:
- name: gitea-data