unable to configure labels in delegate helm chart
C
Cyan Stingray
We need to update specific labels/annotations in the delegate. The values are not exposed via the value file: https://github.com/harness/delegate-helm-chart/blob/1392fd3ac5c6334db529f06554fbbe6fdc4f0146/harness-delegate-ng/templates/_helpers.tpl#L44-L48
We need another setting in the values.yaml file so we can add to those tags.
We are trying to add the labels and annotations shown here: https://app.datadoghq.com/apm/service-setup?architecture=container-based&collection=Helm%20Chart%20%28Recommended%29&environment=kubernetes&language=java
Log In
Canny AI
Merged in a post:
Harness Delegate Helm Chart - Add Annotations
X
Xenon blue Gayal
Hello,
We'd like to request the ability to add annotations in the Harness Delegate Helm chart via values.yaml file. Specifically, we need the ability to add annotations to both the deployment.yaml and the configMap.yaml, but being able to do this on any resource would be helpful too.
Examples:
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
labels:
{{- include "harness-delegate-ng.labels" . | nindent 4 }}
or:
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "harness-delegate-ng.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "harness-delegate-ng.labels" . | nindent 4 }}
annotations:
argocd.argoproj.io/compare-options: IgnoreExtraneous
argocd.argoproj.io/sync-options: RespectIgnoreDifferences=true
See previous request here from another user: https://ideas.harness.io/feature-request/p/unable-to-configure-labels-in-delegate-helm-chart
Thanks!