You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/04/19 20:31:53 UTC

[GitHub] [incubator-pinot] mikecdavis-dd opened a new issue #6815: Support environment variable injection via Pinot helm chart.

mikecdavis-dd opened a new issue #6815:
URL: https://github.com/apache/incubator-pinot/issues/6815


   The current Pinot helm chart does not provide a way to inject custom environment variables. Environment variables can be used as a substitute for config properties as well as templated table definitions and is already supported as part of the Pinot runtime.
   
   Specifically we need to inject secrets for Pinot Basic Auth https://github.com/apache/incubator-pinot/pull/6613 as well custom Kafka credentials via table config [overrides](https://docs.pinot.apache.org/configuration-reference/table#environment-variables-override).
   
   ## Proposal
   Add support for both `envFrom` and `extraEnv` for each statefulset. `envFrom` is useful for batch inject env from existing secrets or configMaps, while `extraEnv` can be used to add individual key values.
   
   Example override:
   ```yaml
   server:
     envFrom:
       - secretRef:
           name: my-secrets
     extraEnv:
       - name: PINOT_CUSTOM_ENV_1
         value: my-value-1
       - name: PINOT_CUSTOM_ENV_2
         value: my-value-2
   ```
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org