shubham36deshpande commented on code in PR #51792:
URL: https://github.com/apache/airflow/pull/51792#discussion_r2384104226
##########
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:
Should I add the roper defaults then? e.g. got ttl=0s, cache-size=1000
something like this
--
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]