Skip to content

Commit

Permalink
fix: [CDS-105241]: Add GITOPS_AGENT_METRICS_PORT environment variable (
Browse files Browse the repository at this point in the history
…#2)

* fix: [CDS-105241]: Update chart version
* fix: [CDS-105241]: Add GITOPS_AGENT_METRICS_PORT environment variable
  • Loading branch information
abosii-harness authored and Harness committed Jan 3, 2025
1 parent 5e04a2d commit 9aff97e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: gitops-helm-byoa
description: A Helm chart for Harness GitOps Agent through BYOA installation flows.
version: 1.3.4
version: 1.3.5
4 changes: 4 additions & 0 deletions charts/templates/gitops-agent/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ spec:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-password
optional: true
{{- if .Values.agent.metrics.enabled }}
- name: GITOPS_AGENT_METRICS_PORT
value: "2112"
{{- end }}
volumeMounts:
{{- with .Values.agent.volumeMounts }}
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 9aff97e

Please sign in to comment.