influxdata/helm-charts

Multiple influxURL in kapacitor chart

radicaled42 opened this issue · 0 comments

Let me try to explain what we are trying to do. Basically, we are using kapacitor to sync two DB.
We made a POC in EC2 without problems, we were able to register two different influxURL and sync the DB.

Now we are trying to move to kubernetes.
We would like to add multiple influxURL (https://github.com/influxdata/helm-charts/blob/master/charts/kapacitor/values.yaml#L66), but there is no mention of it in the documentation.

Is this possible with the chart out of the box (without modifications)?

As far as we were able to check, we will need to change the chart
https://github.com/influxdata/helm-charts/blob/master/charts/kapacitor/templates/deployment.yaml#L35
Add another KAPACITOR_INFLUXDB_0_URLS_0 env variable (modifying the variable to add a new one).

        - name: KAPACITOR_INFLUXDB_0_URLS_0
          value: {{ .Values.influxURL }}

Anyone was able to do it without changing the chart?
We are trying to use kuztomization to avoid changing the chart everytime.