Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the prefix setting #19

Closed
ErinCall opened this issue Dec 18, 2019 · 1 comment · Fixed by #32
Closed

Implement the prefix setting #19

ErinCall opened this issue Dec 18, 2019 · 1 comment · Fixed by #32
Assignees
Labels
drone-helm parity Feature parity with drone-helm enhancement New feature or request
Milestone

Comments

@ErinCall
Copy link
Contributor

drone-helm allows the drone chart to set a prefix to be used when looking up environment variables. For example, given this stanza:

environment:
  prefix: FOO
  foo_token: fjejkdkfjfj

It will look for the token setting in FOO_TOKEN rather than TOKEN.

We should retain support for that feature.

@ErinCall ErinCall added enhancement New feature or request drone-helm parity Feature parity with drone-helm labels Dec 18, 2019
@ErinCall ErinCall added this to the Version 1.0 milestone Dec 18, 2019
@ErinCall
Copy link
Contributor Author

ErinCall commented Dec 18, 2019

Relates to the “let all settings omit the PLUGIN_ prefix” change proposed in #9.

ErinCall added a commit that referenced this issue Dec 24, 2019
I'd like to keep Prefix's scope fairly limited, because it has potential
to spiral into something magnificently complex. You get one prefix
setting, it goes in `settings` not `environment`, end of feature.
@ErinCall ErinCall self-assigned this Dec 24, 2019
ErinCall added a commit that referenced this issue Dec 30, 2019
Just something I noticed while resolving a merge conflict. The "write
some docs" and "implement prefix" branches happened concurrently and
didn't get re-coordinated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drone-helm parity Feature parity with drone-helm enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant