Skip to content

Commit 9aff97e

Browse files
abosii-harnessHarness
authored andcommitted
fix: [CDS-105241]: Add GITOPS_AGENT_METRICS_PORT environment variable (#2)
* fix: [CDS-105241]: Update chart version * fix: [CDS-105241]: Add GITOPS_AGENT_METRICS_PORT environment variable
1 parent 5e04a2d commit 9aff97e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v2
22
name: gitops-helm-byoa
33
description: A Helm chart for Harness GitOps Agent through BYOA installation flows.
4-
version: 1.3.4
4+
version: 1.3.5

charts/templates/gitops-agent/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ spec:
108108
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
109109
key: redis-sentinel-password
110110
optional: true
111+
{{- if .Values.agent.metrics.enabled }}
112+
- name: GITOPS_AGENT_METRICS_PORT
113+
value: "2112"
114+
{{- end }}
111115
volumeMounts:
112116
{{- with .Values.agent.volumeMounts }}
113117
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)