core-deployments/argo/cm.yaml
Aaron Riedel e175f3cfe7
All checks were successful
ci/woodpecker/push/dashboard Pipeline was successful
add OIDC to argocd
2024-09-29 17:20:43 +02:00

45 lines
1.1 KiB
YAML

---
kind: ConfigMap
apiVersion: v1
metadata:
name: argocd-cm
namespace: argocd
labels:
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
data:
statusbadge.enabled: "true"
resource.customizations: |
networking.k8s.io/Ingress:
health.lua: |
hs = {}
hs.status = "Healthy"
return hs
resource.exclusions: |
- apiGroups:
- cilium.io
kinds:
- CiliumIdentity
clusters:
- "*"
url: https://argo.services.yolokube.de
oidc.config: |
name: aaronID
issuer: https://auth.ar21.de
clientID: Oqeex54ocbhpJ0ZIktwQS4nmxTCE0lfVtCEmHNSw
clientSecret: $oidc.aaronid.clientSecret
# Optional set of OIDC scopes to request. If omitted, defaults to: ["openid", "profile", "email", "groups"]
requestedScopes: ["openid", "profile", "email"]
logoutURL: https://auth.ar21.de/flows/-/default/invalidation/
---
kind: ConfigMap
apiVersion: v1
metadata:
name: argocd-cmd-params-cm
namespace: argocd
labels:
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
data:
server.insecure: "true"