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

add feature gates infrastructure #263

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

everettraven
Copy link
Contributor

Description

  • Adds a features package containing skeleton code for easily adding new feature gates to operator-controller

  • Updates the flag parsing in cmd/main.go to use pflag to allow for easily adding and processing the --feature-gates flag

    • Feature gates can be enabled/disabled by setting them with the --feature-gates flag like so: `--feature-gates="SomeFeature=true"
  • Resolves Introduce Support for Feature Gates #255

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
@everettraven everettraven merged commit c61abe5 into operator-framework:main Jun 20, 2023
@m1kola m1kola mentioned this pull request Jun 20, 2023
4 tasks
awgreene pushed a commit to awgreene/operator-controller that referenced this pull request Oct 13, 2023
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce Support for Feature Gates
3 participants