debugging

This commit is contained in:
franz.germann 2025-03-13 14:15:16 +01:00
parent 32955c8878
commit b96dcafbbd
2 changed files with 9 additions and 3 deletions

View file

@ -5,7 +5,7 @@ configs:
params:
server.insecure: true
server.basehref: /argocd
server.rootpath: /argocd
# server.rootpath: /argocd
cm:
application.resourceTrackingMethod: annotation
timeout.reconciliation: 60s
@ -21,6 +21,12 @@ configs:
clusters:
- "*"
accounts.provider-argocd: apiKey
oidc.config: |
name: Keycloak
issuer: https://factory-192-168-198-2.traefik.me/keycloak/realms/cnoe
clientID: argocd
clientSecret: $keycloak-oidc:clientSecret
requestedScopes: ["openid", "profile", "email", "groups"]
rbac:
policy.csv: 'g, provider-argocd, role:admin'

View file

@ -474,8 +474,8 @@ spec:
-X PUT ${KEYCLOAK_URL}/admin/realms/cnoe/clients/${CLIENT_ID}/default-client-scopes/${CLIENT_SCOPE_GROUPS_ID}
ARGOCD_CLIENT_SECRET=$(curl -sS -H "Content-Type: application/json" \
-H "Authorization: bearer ${KEYCLOAK_TOKEN}" \
-X GET ${KEYCLOAK_URL}/admin/realms/cnoe/clients/${CLIENT_ID} | jq -e -r '.secret')
-H "Authorization: bearer ${KEYCLOAK_TOKEN}" \
-X GET ${KEYCLOAK_URL}/admin/realms/cnoe/clients/${CLIENT_ID} | jq -e -r '.secret')
ARGOCD_PASSWORD=$(./kubectl -n argocd get secret argocd-initial-admin-secret -o go-template='{{.data.password | base64decode }}')