Skip to content

Commit

Permalink
fix: [CDS-91688]: Fixes HA Agent Health (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
mankrit-singh authored May 2, 2024
1 parent 3e08b8b commit 64a24c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/_common.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ just set the value of .Values.harness.configMap.argocd.redisSvc
{{- .Values.harness.configMap.argocd.redisSvc -}}
{{- else -}}
{{- if .Values.agent.highAvailability -}}
{{- .Values.harness.configMap.argocd.redisHaProxy -}}
{{- .Values.harness.configMap.argocd.redisHaProxySvc -}}
{{- else -}}
{{- .Values.harness.configMap.argocd.redis -}}
{{- .Values.harness.configMap.argocd.redisHaSvc -}}
{{- end -}}
{{- end -}}
{{- end -}}
10 changes: 7 additions & 3 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,16 @@ harness:
argocd:
repoServer: "argocd-repo-server"
redis: "argocd-redis"
redisHa: "argocd-redis-ha"
redisHaProxy: "argocd-redis-ha-haproxy"
redisHa: "redis-ha"
redisHaProxy: "redis-ha-haproxy"
controller: "argocd-application-controller"
applicationSet: "argocd-applicationset-controller"

repoServerSvc: ""
redisSvc: ""
# -- this is only used for the redis server
redisHaSvc: "argocd-redis-ha"
redisHaProxySvc: "argocd-redis-ha-haproxy"

secrets:
# -- DoNotEdit - GitOps Agent Secret uniquely identifies a GitOps Agent in the Service
Expand Down Expand Up @@ -260,7 +264,7 @@ agent:
repository: harness/gitops-agent
# -- Tag to use for the GitOps Agent
# @default -- `""` (defaults to global.image.tag)
tag: v0.65.0
tag: v0.73.0
# -- Image pull policy for GitOps Agent
# @default -- `""` (defaults to global.image.imagePullPolicy)
imagePullPolicy: Always
Expand Down

0 comments on commit 64a24c6

Please sign in to comment.