forked from ab/homelab
Added Argocd oidc config
This commit is contained in:
@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
- external-secrets.yaml
|
||||||
- app.yaml
|
- app.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
|
@ -18,17 +18,37 @@ configs:
|
|||||||
kustomize.buildOptions: --enable-helm
|
kustomize.buildOptions: --enable-helm
|
||||||
application.instanceLabelKey: argocd.argoproj.io/instance
|
application.instanceLabelKey: argocd.argoproj.io/instance
|
||||||
admin.enabled: true
|
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:
|
rbac:
|
||||||
create: true
|
create: true
|
||||||
policy.default: ""
|
policy.default: ""
|
||||||
# policy.csv: |
|
policy.csv: |
|
||||||
# p, role:org-admin, applications, *, */*, allow
|
g, k8s_dashboard, role:admin
|
||||||
# g, your-github-group, role:org-admin
|
|
||||||
|
|
||||||
secret:
|
secret:
|
||||||
createSecret: true
|
createSecret: true
|
||||||
argocdServerAdminPassword: "" # <--- SET BCRYPT HASH HERE OR MANAGE EXTERNALLY
|
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:
|
controller:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
apiVersion: external-secrets.io/v1beta1
|
apiVersion: external-secrets.io/v1beta1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
|
Reference in New Issue
Block a user