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

refactor: remove unleash-proxy dependency (HMS-4929) #2725

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

ezr-ondrej
Copy link
Member

@ezr-ondrej ezr-ondrej commented Oct 30, 2024

Description

Moved validation function to config package.

Removed check for ephemeral environment as there will be instance of unleash with flags off, so no need to return for ephemeral.
FeatureFlagsService config was never actually used.

The unleash secrets were passed, but always overriden by clowder.

CheckFeature is now returning early when unleash is not configured.

Fixes: HMS-4929

@ezr-ondrej
Copy link
Member Author

/retest

Moved validation function to config package.

Removed check for ephemeral environment as there will be instance of unleash with flags off.
FeatureFlagsService was never actually used.

The unleash secrets were passed, but always overriden by clowder.

CheckFeature is now returning early when unleash is not configured.
unleash-proxy is unmaintained and was not really used.
@ezr-ondrej ezr-ondrej changed the title do not depend on unleash-proxy refactor: remove unleash-proxy dependency Oct 30, 2024
@ezr-ondrej ezr-ondrej changed the title refactor: remove unleash-proxy dependency refactor: remove unleash-proxy dependency (HMS-4929) Oct 30, 2024
@RedHatInsights RedHatInsights deleted a comment from dheerajodha Oct 31, 2024
@adarshdubey-star
Copy link
Contributor

/retest

Copy link
Collaborator

@lzap lzap left a comment

Choose a reason for hiding this comment

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

As long as it does work yeah. This is a tad cleaner.

@ezr-ondrej ezr-ondrej merged commit 17ab0be into RedHatInsights:main Oct 31, 2024
8 checks passed
@ezr-ondrej ezr-ondrej deleted the remove-unleash-proxy branch October 31, 2024 10:55
@mergify mergify bot added the waiting for review Need reviewers label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for review Need reviewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants