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 name: notifications-controller context: argocdUrl: https://argocd-dev.allarddcs.nl secret: create: true name: argocd-notifications-secret items: email-username: "argocd@allarddcs.nl" email-password: 'Argocd01@' cm: create: true extra: service.email: | host: mail.allarddcs.nl port: 587 from: $email-username username: $email-username password: $email-password starttls: true templates: template.app-sync-failed: | email: subject: Failed to sync application {{.app.metadata.name}}. message: | {{if eq .serviceType "slack"}}:exclamation:{{end}} The sync operation of application {{.app.metadata.name}} has failed at {{.app.status.operationState.finishedAt}} with the following error: {{.app.status.operationState.message}} Sync operation details are available at: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true . slack: attachments: |- [{ "title": "{{ .app.metadata.name}}", "title_link":"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}", "color": "#E96D76", "fields": [ { "title": "Sync Status", "value": "{{.app.status.sync.status}}", "short": true }, { "title": "Repository", "value": "{{.app.spec.source.repoURL}}", "short": true } {{range $index, $c := .app.status.conditions}} {{if not $index}},{{end}} {{if $index}},{{end}} { "title": "{{$c.type}}", "value": "{{$c.message}}", "short": true } {{end}} ] }] triggers: trigger.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