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

Duplicate entries of an environment variable should make cluster in error state #589

Open
SaaldjorMike opened this issue May 25, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@SaaldjorMike
Copy link
Member

Currently it's possible to specify the same environment variable multiple times in the HumioCluster resource, but that implicitly means the first one takes precedence over any following entries for the same environment variable.

This means the cluster sometimes ends up with a different unexpected behaviour as you might not have noticed the environment variable was already present in the list when adding another entry of the same environment variable.

It would be better to disallow the user to specify the same environment variable multiple times and instead communicate some ConfigError state to the user which clear logs about which environment variable(s) have been specified multiple times.

@SaaldjorMike SaaldjorMike added the good first issue Good for newcomers label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant