shubham36deshpande commented on code in PR #51792:
URL: https://github.com/apache/airflow/pull/51792#discussion_r2383912289


##########
chart/templates/statsd/statsd-deployment.yaml:
##########
@@ -98,12 +98,17 @@ spec:
           {{- if $containerLifecycleHooks }}
           lifecycle: {{- tpl (toYaml $containerLifecycleHooks) . | nindent 12 
}}
           {{- end }}
-          {{- if .Values.statsd.args }}
-          args: {{ tpl (toYaml .Values.statsd.args) . | nindent 12 }}
-          {{- else}}
           args:
+          {{- if .Values.statsd.args }}
+            {{- range $arg := .Values.statsd.args }}
+            - {{ $arg | quote }}
+            {{- end }}
+          {{- else }}
             - "--statsd.mapping-config=/etc/statsd-exporter/mappings.yml"
           {{- end }}
+            - "--statsd.cache-size={{ .Values.statsd.cacheSize | default 1000 
}}"
+            - "--statsd.cache-type={{ .Values.statsd.cacheType | default `lru` 
}}"
+            - "--ttl={{ .Values.statsd.ttl }}"

Review Comment:
   Yes removing default makes sense, removed the defaults. But I am stuck on 
the Helm test for statsD, not able to understand why it keeps on failing, it 
has something to do woth default values but not able to understand how to fix 
it.
   Can you please help me with that as well?
    



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to