[
https://issues.apache.org/jira/browse/IGNITE-27439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danut Radoaica updated IGNITE-27439:
------------------------------------
Labels: ignite-3 (was: )
> Nice to have: Ignite 3 HOCON configurations support for environment variables
> substitutions
> -------------------------------------------------------------------------------------------
>
> Key: IGNITE-27439
> URL: https://issues.apache.org/jira/browse/IGNITE-27439
> Project: Ignite
> Issue Type: Improvement
> Components: configuration ai3
> Affects Versions: 3.1
> Environment: is described here:
> [https://github.com/dradoaica/helm-charts/blob/main/DEV_NOTES.md]
> Reporter: Danut Radoaica
> Priority: Minor
> Labels: ignite-3
>
> First, thank you for the product and your hard work!
>
> Secondly, would be nice if Ignite 3 HOCON configurations will support
> environment variables substitutions (e.g., password=${?NEW_PASSWORD}; see:
> [https://github.com/lightbend/config/blob/main/HOCON.md#substitutions]).
>
> I played around with creating a helm chart:
> [https://github.com/dradoaica/helm-charts/tree/main/charts/ignite-3]
>
> I want to inject the passwords as environment variables in the STS:
> [https://github.com/dradoaica/helm-charts/blob/main/charts/ignite-3/templates/stateful-set.yaml]
>
> and use them in the ConfigMap:
> [https://github.com/dradoaica/helm-charts/blob/main/charts/ignite-3/templates/config-map.yaml]
>
> e.g.,
>
> {quote} cluster-config.conf: |
> ignite {
> security {
> enabled:\{{ .Values.authentication.enabled }}
> authentication {
> providers=[
> {
> name=default
> type=basic
> users=[
> {
> password=${?NEW_PASSWORD}
> username=ignite
> }
> ]
> }
> ]
> }
> }
> }{quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)