2020-11-26 13:21:10 +00:00
|
|
|
# Support for Istio Ingress for ArgoCD
|
|
|
|
istio:
|
|
|
|
# istio.enabled -- Deploy Istio VirtualService to expose ArgoCD
|
|
|
|
enabled: false
|
|
|
|
# istio.gateway -- Name of the Istio gateway to add the VirtualService to
|
|
|
|
gateway: istio-ingress/ingressgateway
|
|
|
|
ipBlocks: []
|
2020-08-20 10:40:08 +00:00
|
|
|
|
2020-06-25 12:52:07 +00:00
|
|
|
argo-cd:
|
|
|
|
installCRDs: false
|
|
|
|
|
|
|
|
#configs:
|
|
|
|
# secret:
|
|
|
|
# `htpasswd -nbBC 10 "" $ARGO_PWD | tr -d ':\n' | sed 's/$2y/$2a/'`
|
|
|
|
# argocdServerAdminPassword: "$2a$10$ivKzaXVxMqdeDSfS3nqi1Od3iDbnL7oXrixzDfZFRHlXHnAG6LydG"
|
|
|
|
# argocdServerAdminPasswordMtime: "2020-04-24T15:33:09BST"
|
|
|
|
|
2021-08-25 14:00:26 +00:00
|
|
|
#global:
|
|
|
|
# image:
|
|
|
|
# tag: v2.0.4
|
2020-09-18 12:09:18 +00:00
|
|
|
|
2020-06-25 12:52:07 +00:00
|
|
|
controller:
|
2020-08-15 22:37:45 +00:00
|
|
|
args:
|
2020-10-27 11:54:44 +00:00
|
|
|
statusProcessors: "8"
|
|
|
|
operationProcessors: "4"
|
2020-08-15 22:37:45 +00:00
|
|
|
appResyncPeriod: "300"
|
2020-10-21 12:29:49 +00:00
|
|
|
logFormat: json
|
2020-08-15 22:37:45 +00:00
|
|
|
|
2020-08-16 14:49:57 +00:00
|
|
|
metrics:
|
|
|
|
enabled: false
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
|
2020-09-15 10:15:55 +00:00
|
|
|
resources:
|
2020-10-21 13:18:02 +00:00
|
|
|
# limits:
|
2020-09-15 10:15:55 +00:00
|
|
|
# cpu: 500m
|
2020-10-21 13:18:02 +00:00
|
|
|
# memory: 2048Mi
|
2020-09-15 10:15:55 +00:00
|
|
|
requests:
|
|
|
|
cpu: 100m
|
2020-09-15 10:48:07 +00:00
|
|
|
memory: 256Mi
|
2020-06-25 12:52:07 +00:00
|
|
|
|
|
|
|
repoServer:
|
2020-10-21 12:29:49 +00:00
|
|
|
logFormat: json
|
2020-08-16 14:49:57 +00:00
|
|
|
metrics:
|
|
|
|
enabled: false
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
|
2020-06-25 12:52:07 +00:00
|
|
|
server:
|
2020-10-21 12:29:49 +00:00
|
|
|
logFormat: json
|
2020-06-25 12:52:07 +00:00
|
|
|
config:
|
2021-07-01 14:40:23 +00:00
|
|
|
ui.bannercontent: "KubeZero Release 2.20 incl. ArgoCD 2.0 -> Release notes"
|
|
|
|
ui.bannerurl: "https://blog.argoproj.io/argo-cd-v2-0-rc1-is-here-f7d21ff1aa64"
|
|
|
|
|
2020-06-25 12:52:07 +00:00
|
|
|
# argo-cd.server.config.url -- ArgoCD hostname to be exposed via Istio
|
|
|
|
url: argocd.example.com
|
|
|
|
|
2020-11-26 13:21:10 +00:00
|
|
|
#repositories: |
|
|
|
|
# - url: https://zero-down-time.github.io/kubezero.git
|
|
|
|
|
2020-08-15 22:37:45 +00:00
|
|
|
resource.customizations: |
|
|
|
|
cert-manager.io/Certificate:
|
|
|
|
# Lua script for customizing the health status assessment
|
|
|
|
health.lua: |
|
|
|
|
hs = {}
|
|
|
|
if obj.status ~= nil then
|
|
|
|
if obj.status.conditions ~= nil then
|
|
|
|
for i, condition in ipairs(obj.status.conditions) do
|
|
|
|
if condition.type == "Ready" and condition.status == "False" then
|
|
|
|
hs.status = "Degraded"
|
|
|
|
hs.message = condition.message
|
|
|
|
return hs
|
|
|
|
end
|
|
|
|
if condition.type == "Ready" and condition.status == "True" then
|
|
|
|
hs.status = "Healthy"
|
|
|
|
hs.message = condition.message
|
|
|
|
return hs
|
|
|
|
end
|
|
|
|
end
|
2020-08-15 14:59:57 +00:00
|
|
|
end
|
|
|
|
end
|
2020-08-15 22:37:45 +00:00
|
|
|
hs.status = "Progressing"
|
|
|
|
hs.message = "Waiting for certificate"
|
|
|
|
return hs
|
2020-08-15 14:59:57 +00:00
|
|
|
|
2020-06-25 12:52:07 +00:00
|
|
|
# Rename former https port to grpc, works with istio + insecure
|
|
|
|
service:
|
|
|
|
servicePortHttpsName: grpc
|
|
|
|
|
2020-08-16 14:49:57 +00:00
|
|
|
metrics:
|
|
|
|
enabled: false
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
|
2020-06-25 12:52:07 +00:00
|
|
|
extraArgs:
|
|
|
|
- --insecure
|
2020-10-21 13:18:02 +00:00
|
|
|
|
|
|
|
# redis:
|
|
|
|
# We might want to try to keep redis close to the controller
|
|
|
|
# affinity:
|
2020-06-25 12:52:07 +00:00
|
|
|
|
|
|
|
dex:
|
|
|
|
enabled: false
|
2021-08-29 22:28:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
argocd-applicationset:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
rbac:
|
|
|
|
pspEnabled: false
|
|
|
|
|
|
|
|
resources:
|
|
|
|
# limits:
|
|
|
|
# cpu: 500m
|
|
|
|
# memory: 2048Mi
|
|
|
|
requests:
|
|
|
|
cpu: 50m
|
|
|
|
memory: 64Mi
|