Skip to content

Commit

Permalink
statsD dynamic params
Browse files Browse the repository at this point in the history
  • Loading branch information
etessari committed Sep 18, 2023
1 parent 9020f6d commit 0e1b6f6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/envoyproxy-ratelimit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: envoyproxy-ratelimit
description: Envoy Ratelimit Service Helm chart for Kubernetes
type: application
version: 0.2.0
version: 0.2.1
6 changes: 5 additions & 1 deletion charts/envoyproxy-ratelimit/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
- name: REDIS_URL
value: {{ .Values.redis.address | quote }}
- name: USE_STATSD
value: "false"
value: {{ .Values.deployment.env.useStatsD | quote }}
- name: STATSD_HOST
value: {{ .Values.deployment.env.statsDHost | quote }}
- name: STATSD_PORT
value: {{ .Values.deployment.env.statsDPort | quote }}
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Expand Down
3 changes: 3 additions & 0 deletions charts/envoyproxy-ratelimit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ deployment:
resources: {}
env:
logLevel: debug
useStatsD: "false"
statsDHost: ""
statsDPort: "9125"

hpa:
enabled: false
Expand Down

0 comments on commit 0e1b6f6

Please sign in to comment.