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

Support truthy values for boolean environment variables #2263

Open
lblackstone opened this issue Dec 14, 2022 · 0 comments
Open

Support truthy values for boolean environment variables #2263

lblackstone opened this issue Dec 14, 2022 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@lblackstone
Copy link
Member

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Currently, the provider supports a number of boolean-typed environment variables. The provider logic only accepts "true" to enable the option, but this is probably overly restrictive.

Here is one example, but this pattern is widespread in the provider:
https://github.com/pulumi/pulumi-kubernetes/blob/v3.23.0/provider/pkg/provider/provider.go#L404-L415

Affected area/feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant