mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-25 02:16:08 +07:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
argo-cd:
|
|
server:
|
|
extraArgs:
|
|
- --insecure
|
|
config:
|
|
statusbadge.enabled: 'true'
|
|
resource.customizations.health.argoproj.io_Application: |
|
|
hs = {}
|
|
hs.status = "Progressing"
|
|
hs.message = ""
|
|
if obj.status ~= nil then
|
|
if obj.status.health ~= nil then
|
|
hs.status = obj.status.health.status
|
|
if obj.status.health.message ~= nil then
|
|
hs.message = obj.status.health.message
|
|
end
|
|
end
|
|
end
|
|
return hs
|
|
ingress:
|
|
enabled: true
|
|
ingressClassName: nginx
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
hajimari.io/appName: ArgoCD
|
|
hajimari.io/icon: robot
|
|
hosts:
|
|
- &host argocd.khuedoan.com
|
|
tls:
|
|
- secretName: argocd-tls-certificate
|
|
hosts:
|
|
- *host
|
|
metrics: &metrics
|
|
enabled: true
|
|
serviceMonitor:
|
|
enabled: true
|
|
dex:
|
|
enabled: false
|
|
controller:
|
|
metrics: *metrics
|
|
repoServer:
|
|
metrics: *metrics
|
|
redis:
|
|
metrics: *metrics
|