Skip to content

Add Values.extraEnvs#55

Merged
prashantmital merged 3 commits intotryretool:mainfrom
discord:trace/addvalue
Jun 1, 2022
Merged

Add Values.extraEnvs#55
prashantmital merged 3 commits intotryretool:mainfrom
discord:trace/addvalue

Conversation

@lsovern
Copy link

@lsovern lsovern commented May 26, 2022

Add support for env variables that aren't key-value with a new variable called extraEnvs. This will make the existing env and environmentSecrets redundant, but leaving them in so as not to break existing things.

values.yaml Outdated
# secretKeyRef:
# name: retool-github-app-private-key
# key: private-key
# - name: NAME
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick:

Suggested change
# - name: NAME
# - name: POD_HOST_IP

That's not the exact name we'd use, but it better clarifies the example I think.

@prashantmital
Copy link
Contributor

@lsovern can we use something more generic than extraEnvs? I agree that this will eventually replace env and environmentSecrets but to avoid breaking things when we do, I think using a more generic term like environmentVariables might be better?

Copy link
Contributor

@anna-yn anna-yn left a comment

Choose a reason for hiding this comment

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

agree with @goodspark 's suggestion, otherwise lgtm!

@prashantmital prashantmital merged commit 1e06cee into tryretool:main Jun 1, 2022
@goodspark goodspark deleted the trace/addvalue branch June 2, 2022 16:57
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.

5 participants