Helm: support statsd publishing (#20455)
* Allow statsd publishing from Helm * Apply suggestions from code review Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com> Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
This commit is contained in:
		
							parent
							
								
									e62b514e95
								
							
						
					
					
						commit
						82c663300a
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -310,3 +310,6 @@ data:
 | 
				
			||||||
  LDAP_UID_CONVERSION_REPLACE: {{ .Values.externalAuth.ldap.uid_conversion.replace }}
 | 
					  LDAP_UID_CONVERSION_REPLACE: {{ .Values.externalAuth.ldap.uid_conversion.replace }}
 | 
				
			||||||
  {{- end }}
 | 
					  {{- end }}
 | 
				
			||||||
  {{- end }}
 | 
					  {{- end }}
 | 
				
			||||||
 | 
					  {{- with .Values.mastodon.metrics.statsd.address }}
 | 
				
			||||||
 | 
					  STATSD_ADDR: {{ . }}
 | 
				
			||||||
 | 
					  {{- end }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -101,6 +101,11 @@ mastodon:
 | 
				
			||||||
  web:
 | 
					  web:
 | 
				
			||||||
    port: 3000
 | 
					    port: 3000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  metrics:
 | 
				
			||||||
 | 
					    statsd:
 | 
				
			||||||
 | 
					      # Enable statsd publishing via STATSD_ADDR environment variable
 | 
				
			||||||
 | 
					      address: ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ingress:
 | 
					ingress:
 | 
				
			||||||
  enabled: true
 | 
					  enabled: true
 | 
				
			||||||
  annotations:
 | 
					  annotations:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue