modified: apps/argocd-config/argocd-cm.yaml
modified: apps/argocd-config/external-secret.yaml
This commit is contained in:
@@ -9,21 +9,13 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
url: "https://argocd.k3s.stabify.de"
|
url: "https://argocd.k3s.stabify.de"
|
||||||
|
|
||||||
# DEX Config statt OIDC (für CLI Support)
|
# OIDC Direct Config (Dex Bypass)
|
||||||
dex.config: |
|
oidc.config: |
|
||||||
connectors:
|
name: Authentik
|
||||||
- config:
|
|
||||||
issuer: https://auth.apps.k3s.stabify.de/application/o/argocd/
|
issuer: https://auth.apps.k3s.stabify.de/application/o/argocd/
|
||||||
clientID: wETzydDHkt2EbIY0I2MqFyC0lTv3OpHbDkRNhoKP
|
clientID: $argocd-oidc-secret:oidc.authentik.clientId
|
||||||
clientSecret: $argocd-oidc-secret:dex.authentik.clientSecret
|
clientSecret: $argocd-oidc-secret:oidc.authentik.clientSecret
|
||||||
insecureEnableGroups: true
|
requestedScopes: ["openid", "profile", "email", "groups"]
|
||||||
scopes:
|
|
||||||
- openid
|
|
||||||
- profile
|
|
||||||
- email
|
|
||||||
name: authentik
|
|
||||||
type: oidc
|
|
||||||
id: authentik
|
|
||||||
|
|
||||||
# Resource Customizations (unverändert)
|
# Resource Customizations (unverändert)
|
||||||
resource.customizations.ignoreResourceUpdates.ConfigMap: |
|
resource.customizations.ignoreResourceUpdates.ConfigMap: |
|
||||||
|
|||||||
@@ -13,11 +13,10 @@ spec:
|
|||||||
template:
|
template:
|
||||||
engineVersion: v2
|
engineVersion: v2
|
||||||
data:
|
data:
|
||||||
# ArgoCD Dex Config Key
|
# ArgoCD OIDC Config Keys
|
||||||
dex.authentik.clientSecret: "{{ .oidc_client_secret }}"
|
oidc.authentik.clientId: "{{ .oidc_client_id }}"
|
||||||
# Dex braucht keine clientID im Secret, die steht in der ConfigMap.
|
oidc.authentik.clientSecret: "{{ .oidc_client_secret }}"
|
||||||
# Aber wir können sie hier lassen oder entfernen.
|
|
||||||
oidc.authentik.clientId: "{{ .oidc_client_id }}" # Legacy / Optional
|
|
||||||
|
|
||||||
data:
|
data:
|
||||||
- secretKey: client_id
|
- secretKey: client_id
|
||||||
|
|||||||
Reference in New Issue
Block a user