IPCEICIS-2297_working_oidc #30

Merged
richardrobertreitz merged 32 commits from IPCEICIS-2297_working_oidc into development 2025-04-25 12:11:03 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 9dd9184cfd - Show all commits

View file

@ -61,7 +61,7 @@ spec:
git config --global user.email "bot@bots.de" git config --global user.email "bot@bots.de"
git config --global user.name "bot" git config --global user.name "bot"
git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@gitea-${DOMAIN}/giteaAdmin/edfbuilder.git git clone https://${FORGEJO_USER}:${GIT_PASSWORD}@gitea-${DOMAIN}/giteaAdmin/edfbuilder.git
cd edfbuilder cd edfbuilder
yq eval '.configs.cm."oidc.config" = "name: Keycloak\nissuer: https://192-168-197-2.c-one-infra.de/keycloak/realms/cnoe\nclientID: argocd\nclientSecret: $auth-generic-oauth-secret:client_secret\nrequestedScopes: [\"openid\", \"profile\", \"email\", \"groups\"]"' -i stacks/core/argocd/values.yaml yq eval '.configs.cm."oidc.config" = "name: Keycloak\nissuer: https://192-168-197-2.c-one-infra.de/keycloak/realms/cnoe\nclientID: argocd\nclientSecret: $auth-generic-oauth-secret:client_secret\nrequestedScopes: [\"openid\", \"profile\", \"email\", \"groups\"]"' -i stacks/core/argocd/values.yaml

View file

@ -21,7 +21,7 @@ spec:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: auth-generic-oauth-secret name: auth-generic-oauth-secret
key: client_secret key: secret
- name: FORGEJO_USER - name: FORGEJO_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
@ -66,7 +66,7 @@ spec:
git config --global user.email "bot@bots.de" git config --global user.email "bot@bots.de"
git config --global user.name "giteaAdmin" git config --global user.name "giteaAdmin"
git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@gitea-${DOMAIN}/giteaAdmin/edfbuilder.git git clone https://${FORGEJO_USER}:${FORGEJO_TOKEN}@gitea-${DOMAIN}/giteaAdmin/edfbuilder.git
cd edfbuilder cd edfbuilder
yq eval ".gitea.oauth = [ yq eval ".gitea.oauth = [
{ {