testing the hydration of domains
This commit is contained in:
parent
ba2b7dbc9f
commit
4e50289d91
2 changed files with 4 additions and 4 deletions
|
@ -61,9 +61,9 @@ 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://${FORGEJO_USER}:${FORGEJO_TOKEN}@gitea-${DOMAIN}/giteaAdmin/edfbuilder.git
|
git clone https://${FORGEJO_USER}:${FORGEJO_TOKEN}@{{{ .Env.DOMAIN_GITEA }}}/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://{{{ .Env.DOMAIN }}}/keycloak/realms/cnoe\nclientID: argocd\nclientSecret: $auth-generic-oauth-secret:client_secret\nrequestedScopes: [\"openid\", \"profile\", \"email\", \"groups\"]"' -i stacks/core/argocd/values.yaml
|
||||||
|
|
||||||
git add stacks/core/argocd/values.yaml
|
git add stacks/core/argocd/values.yaml
|
||||||
git commit -m "adds Forgejo SSO config"
|
git commit -m "adds Forgejo SSO config"
|
||||||
|
|
|
@ -66,14 +66,14 @@ 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://${FORGEJO_USER}:${FORGEJO_TOKEN}@gitea-${DOMAIN}/giteaAdmin/edfbuilder.git
|
git clone https://${FORGEJO_USER}:${FORGEJO_TOKEN}@{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder.git
|
||||||
cd edfbuilder
|
cd edfbuilder
|
||||||
yq eval ".gitea.oauth = [
|
yq eval ".gitea.oauth = [
|
||||||
{
|
{
|
||||||
\"name\": \"Keycloak\",
|
\"name\": \"Keycloak\",
|
||||||
\"provider\": \"openidConnect\",
|
\"provider\": \"openidConnect\",
|
||||||
\"existingSecret\": \"auth-generic-oauth-secret\",
|
\"existingSecret\": \"auth-generic-oauth-secret\",
|
||||||
\"autoDiscoverUrl\": \"https://192-168-197-2.c-one-infra.de/keycloak/realms/cnoe/.well-known/openid-configuration\"
|
\"autoDiscoverUrl\": \"https://{{{ .Env.DOMAIN }}}/keycloak/realms/cnoe/.well-known/openid-configuration\"
|
||||||
}
|
}
|
||||||
] |
|
] |
|
||||||
(.gitea.oauth[] | .name) |= (. style=\"single\")
|
(.gitea.oauth[] | .name) |= (. style=\"single\")
|
||||||
|
|
Loading…
Reference in a new issue