Files
Homelabv4/infrastructure/authentik/argocd-blueprint.yaml
T
2026-03-09 20:21:35 -05:00

50 lines
1.9 KiB
YAML

---
apiVersion: v1
kind: ConfigMap
metadata:
name: authentik-blueprints-argocd
namespace: authentik
labels:
goauthentik.io/blueprint: "true"
data:
argocd.yaml: |-
version: 1
metadata:
name: argocd-oidc
entries:
- model: authentik_providers_oauth2.oauth2provider
id: argocd-provider
state: present
identifiers:
name: ArgoCD
attrs:
name: ArgoCD
client_id: 3791058a7de278045e5ec36be29f7a33d635119b8c786f20c86b185139c28841
client_secret: f787416822f5bf4c46fe9170e63d1bf9520bab7703d53341aaaec107c8c4ba253d96c30b70d23a1c0b5a401ae1ae4bfb5db06092d338e29e0b0f04cd29bc0b36
authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]]
authentication_flow: !Find [authentik_flows.flow, [slug, default-authentication-flow]]
invalidation_flow: !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
redirect_uris:
- url: "https://argocd.kube.huskypup.net/auth/callback"
matching_mode: strict
property_mappings:
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, openid]]
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, email]]
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, profile]]
client_type: confidential
access_code_validity: "minutes=10"
access_token_validity: "hours=1"
refresh_token_validity: "days=30"
signing_key: !Find [authentik_crypto.certificatekeypair, [name, "authentik Internal JWT Certificate"]]
- model: authentik_core.application
id: argocd-application
state: present
identifiers:
slug: argocd
attrs:
name: ArgoCD
slug: argocd
policy_engine_mode: any
provider: !KeyOf argocd-provider