forked from ab/homelab
Added argocd
This commit is contained in:
@ -10,9 +10,12 @@ spec:
|
|||||||
deletionPolicy: Delete
|
deletionPolicy: Delete
|
||||||
template:
|
template:
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/part-of: argocd
|
||||||
data:
|
data:
|
||||||
dex.authentik.clientID: "{{ .client_id | quote }}"
|
id: "{{ .client_id | quote }}"
|
||||||
dex.authentik.clientSecret: "{{ .client_secret | quote }}"
|
secret: "{{ .client_secret | quote }}"
|
||||||
data:
|
data:
|
||||||
- secretKey: client_id
|
- secretKey: client_id
|
||||||
sourceRef:
|
sourceRef:
|
||||||
|
@ -4,7 +4,7 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- app.yaml
|
- app.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
# - external-secrets.yaml
|
- external-secrets.yaml
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: argo-cd
|
- name: argo-cd
|
||||||
|
@ -19,16 +19,13 @@ configs:
|
|||||||
application.instanceLabelKey: argocd.argoproj.io/instance
|
application.instanceLabelKey: argocd.argoproj.io/instance
|
||||||
admin.enabled: true
|
admin.enabled: true
|
||||||
timeout.reconciliation: 60s
|
timeout.reconciliation: 60s
|
||||||
dex.config: |
|
oidc.config: |
|
||||||
connectors:
|
name: Authentik
|
||||||
- type: oidc
|
issuer: https://idm.hexor.cy/application/o/argocd/
|
||||||
id: authentik
|
clientID: $oidc-creds:id
|
||||||
name: Authentik
|
clientSecret: $oidc-creds:secret
|
||||||
config:
|
requestedScopes: ["openid", "profile", "email", "groups"]
|
||||||
issuer: https://auth.hexor.cy/application/o/argocd/
|
requestedIDTokenClaims: {"groups": {"essential": true}}
|
||||||
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: ""
|
||||||
@ -38,26 +35,19 @@ configs:
|
|||||||
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
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
# Add resources (requests/limits), PDB etc. if needed
|
# Add resources (requests/limits), PDB etc. if needed
|
||||||
|
|
||||||
# Dex OIDC provider
|
# Dex OIDC provider
|
||||||
dex:
|
dex:
|
||||||
enabled: true # Keep enabled unless using external OIDC/SAML directly
|
replicas: 1
|
||||||
# Add resources, PDB etc. if needed
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# Standard Redis disabled because Redis HA is enabled
|
# Standard Redis disabled because Redis HA is enabled
|
||||||
redis:
|
redis:
|
||||||
@ -78,6 +68,8 @@ redis-ha:
|
|||||||
# Argo CD Server (API and UI)
|
# Argo CD Server (API and UI)
|
||||||
server:
|
server:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
@ -90,15 +82,22 @@ server:
|
|||||||
# Repository Server
|
# Repository Server
|
||||||
repoServer:
|
repoServer:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
# Add resources (requests/limits), PDB etc. if needed
|
# Add resources (requests/limits), PDB etc. if needed
|
||||||
|
|
||||||
# ApplicationSet Controller
|
# ApplicationSet Controller
|
||||||
applicationSet:
|
applicationSet:
|
||||||
enabled: true # Enabled by default
|
enabled: true # Enabled by default
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
# Add resources (requests/limits), PDB etc. if needed
|
# Add resources (requests/limits), PDB etc. if needed
|
||||||
|
|
||||||
# Notifications Controller
|
# Notifications Controller
|
||||||
notifications:
|
notifications:
|
||||||
enabled: true # Enabled by default
|
enabled: true # Enabled by default
|
||||||
|
replicas: 1
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
# Add notifiers, triggers, templates configurations if needed
|
# Add notifiers, triggers, templates configurations if needed
|
||||||
|
Reference in New Issue
Block a user