Added Argocd oidc config

This commit is contained in:
Ultradesu
2025-04-06 19:54:48 +01:00
parent 56ac8d65ea
commit 3b35ab2122
3 changed files with 26 additions and 4 deletions

View File

@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- external-secrets.yaml
- app.yaml
- ingress.yaml

View File

@ -18,17 +18,37 @@ configs:
kustomize.buildOptions: --enable-helm
application.instanceLabelKey: argocd.argoproj.io/instance
admin.enabled: true
timeout.reconciliation: 180s
timeout.reconciliation: 60s
dex.config: |
connectors:
- type: oidc
id: authentik
name: Authentik
config:
issuer: https://auth.hexor.cy/application/o/argocd/
clientID: $dex.authentik.clientID
clientSecret: $dex.authentik.clientSecret
redirectURI: https://ag.hexor.cy/api/dex/callback
rbac:
create: true
policy.default: ""
# policy.csv: |
# p, role:org-admin, applications, *, */*, allow
# g, your-github-group, role:org-admin
policy.csv: |
g, k8s_dashboard, role:admin
secret:
createSecret: true
argocdServerAdminPassword: "" # <--- SET BCRYPT HASH HERE OR MANAGE EXTERNALLY
extra:
dex.authentik.clientID:
valueFrom:
secretKeyRef:
name: oidc-creds
key: client-id
dex.authentik.clientSecret:
valueFrom:
secretKeyRef:
name: oidc-creds
key: client-secret
controller:
replicas: 1

View File

@ -1,3 +1,4 @@
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata: