96 lines
2.4 KiB
Plaintext
96 lines
2.4 KiB
Plaintext
ingress:
|
|
server:
|
|
enabled: true
|
|
ingressClassName: traefik
|
|
hosts:
|
|
- host: argocd-dev.allarddcs.nl
|
|
paths:
|
|
- "/"
|
|
tls:
|
|
- hosts:
|
|
- argocd-dev.allarddcs.nl
|
|
secretName: argocd-tls-cert
|
|
|
|
configs:
|
|
secret:
|
|
extra:
|
|
argocdServerAdminPassword: "$2a$10$CYBSxU6gqSBKP4knIdKDm.pF4TQXmJwUh860yXQEsHFy43Z2fuenK"
|
|
params:
|
|
# disable insecure (HTTP)
|
|
server.insecure: "false"
|
|
resource.customizations: |
|
|
rbac.authorization.k8s.io/ClusterRole:
|
|
ignoreDifferences: |
|
|
jsonPointers:
|
|
- /metadata/annotations/argocd.argoproj.io~1tracking-id
|
|
rbac.authorization.k8s.io/ClusterRoleBinding:
|
|
ignoreDifferences: |
|
|
jsonPointers:
|
|
- /metadata/annotations/argocd.argoproj.io~1tracking-id
|
|
|
|
server:
|
|
tls:
|
|
enabled: true
|
|
# name of the TLS secret (created via cert-manager)
|
|
secretName: argocd-tls-cert
|
|
|
|
repoServer:
|
|
extraArgs:
|
|
- --parallelismlimit=1
|
|
|
|
readinessProbe:
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 5
|
|
timeoutSeconds: 2
|
|
failureThreshold: 10
|
|
|
|
livenessProbe:
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 2
|
|
failureThreshold: 10
|
|
|
|
notifications:
|
|
enabled: true
|
|
|
|
context:
|
|
argocdUrl: https://argocd-dev.allarddcs.nl
|
|
|
|
cm:
|
|
create: true
|
|
extra:
|
|
service.email: |
|
|
host: mail.allarddcs.nl
|
|
port: 587
|
|
from: $email-username
|
|
username: $email-username
|
|
password: $email-password
|
|
starttls: true
|
|
|
|
secret:
|
|
create: true
|
|
name: argocd-notifications-secret
|
|
items:
|
|
email-username: "argocd@allarddcs.nl"
|
|
email-password: "Argocd01@"
|
|
|
|
templates:
|
|
app-sync-failed: |
|
|
email:
|
|
subject: Failed to sync application {{.app.metadata.name}}.
|
|
message: |
|
|
The sync operation of application {{.app.metadata.name}} has failed at {{.app.status.operationState.finishedAt}} with the following error: {{.app.status.operationState.message}}
|
|
More details: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true
|
|
|
|
triggers:
|
|
on-sync-failed: |
|
|
- description: Application syncing has failed
|
|
send: [app-sync-failed]
|
|
when: app.status.operationState != nil and app.status.operationState.phase in ['Error','Failed']
|
|
|
|
subscriptions:
|
|
- recipients:
|
|
- admin@allarddcs.nl
|
|
triggers:
|
|
- on-sync-failed
|