Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Add load config to install-server script #748

Conversation

fabriziosestito
Copy link
Member

This PR adds the possibility to configure the server installer script by a /etc/trento/installer.conf file, by overriding env variables.
This is needed in order change the behavior of the installer script in different trento flavors (e.g. Premium)

Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

If I understand correctly in /etc/trento/installer.conf we can override any of the env variable for the installer script.
For instance the place where to get the helm chart from, thus allowing the premium installation to get helm charts from a non IBS place.

👍

Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have some example of the installer.conf file?
I guess that it specially matters the trento_chart_path variable for this case, right?

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool :0

@fabriziosestito
Copy link
Member Author

Do you have some example of the installer.conf file? I guess that it specially matters the trento_chart_path variable for this case, right?

@arbulu89 sent you an example on slack

@dottorblaster dottorblaster merged commit 4fdf9cc into trento-project:main Jan 27, 2022
@dottorblaster dottorblaster deleted the add_dot_env_to_install_server branch January 27, 2022 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants