Skip to content

Comments

feat(helm): Add an ability to set addition env via helm#399

Merged
burningalchemist merged 2 commits intoburningalchemist:masterfrom
allanger:add-SQLEXPORTER_TARGET_DSN-supprt
Nov 21, 2023
Merged

feat(helm): Add an ability to set addition env via helm#399
burningalchemist merged 2 commits intoburningalchemist:masterfrom
allanger:add-SQLEXPORTER_TARGET_DSN-supprt

Conversation

@allanger
Copy link
Contributor

@allanger allanger commented Nov 20, 2023

Now it should be possible to set addition environment variables that are
going to be used by sql_exporter deployment.

User can either set a value of the variable, so it's taken directly from
Values, or use a value from an already existing Secret or ConfigMap.

Also, I've added bin to .helmignore and some auto-formatting has
happened to Values.yaml

Nikolai Rodionov added 2 commits November 20, 2023 13:18
In case somebody wants to test the chart locally, after generating docs,
tests will fail, because helm will consider bin as a part of the chart,
and the size of the binary is too big to be installed to k8s
Now it should be possible to set addition environment variables that are
going to be used by sql_exporter deployment.

User can either set a value of the variable, so it's taken directly from
Values, or use a value from an already existing Secret or ConfigMap.
@allanger allanger force-pushed the add-SQLEXPORTER_TARGET_DSN-supprt branch from 2c88708 to 6d17086 Compare November 20, 2023 12:29
@allanger allanger marked this pull request as ready for review November 20, 2023 12:34
@burningalchemist
Copy link
Owner

Thanks, I'll review it shortly. 👍

Copy link
Owner

@burningalchemist burningalchemist left a comment

Choose a reason for hiding this comment

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

Looks good to me! 👍🚀

Once we support more env variables on the sql_exporter side, this change should work just fine. 👍

@burningalchemist burningalchemist changed the title feat: Add an ability to set addition env via helm feat(helm): Add an ability to set addition env via helm Nov 21, 2023
@burningalchemist burningalchemist merged commit bf66c18 into burningalchemist:master Nov 21, 2023
@allanger allanger deleted the add-SQLEXPORTER_TARGET_DSN-supprt branch November 22, 2023 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants