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

Resolve an issue where the AllowExternalTraffic configuration was not set to its default value #558

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

zohar7ch
Copy link
Contributor

@zohar7ch zohar7ch commented Feb 11, 2025

Description

Fixing setting the initial value of AllowExternalTraffic configuration when there is no value in the helm file.

Technical details:
When creating the configuration, we are fetching this value using viper.GetString(), which expect a string value (rather than enum), so we must set it as string as well.

Testing

Tested locally by running the intents operator and making sure that it reports values to Otterize cloud..

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR and in github.com/otterize/docs

When creating the configuration, we are fetching this value using
`viper.GetString()`, which expect a string value (rather than enum), so
we must set it as string as well.
@zohar7ch zohar7ch requested a review from omris94 February 11, 2025 10:53
@zohar7ch zohar7ch changed the title Bugfix: fetching default value for AllowExternalTraffic Resolve an issue where the AllowExternalTraffic configuration was not set to its default value Feb 11, 2025
Copy link

@zohar7ch zohar7ch merged commit a0b45e2 into main Feb 11, 2025
20 checks passed
@zohar7ch zohar7ch deleted the zohar/bugfix-default-value branch February 11, 2025 13:06
@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants