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

chore: V2 config rework pt1 #3835

Merged
merged 9 commits into from
Jan 24, 2025
Merged

chore: V2 config rework pt1 #3835

merged 9 commits into from
Jan 24, 2025

Conversation

markphelps
Copy link
Collaborator

I started to rework the configuration for v2 to remove un-needed pieces (for now) but eventually got side tracked by removing the legacy evaluation API as it will no longer be supported in v2.

This PR is a mix of:

  1. Updating CUE and JSON schema to match the agreed-upon config structure
  2. Removing dead code / examples / tests
  3. Merge the legacy evaluation API into the Variant evaluation API codepath

Since this PR is already quite large, I will do the environments/storage configuration changes in another PR

Robot Words

This pull request includes several changes focused on removing legacy code, simplifying configurations, and cleaning up documentation. The most important changes include the removal of legacy evaluation tests, updates to the migration command, and the deletion of outdated audit examples.

Removal of Legacy Code:

Updates to Migration Command:

Cleanup and Documentation:

  • examples/audit/README.md, examples/audit/kafka/README.md, examples/audit/kafka/docker-compose.yml: Removed outdated audit examples and related documentation. [1] [2] [3]
  • build/testing/redpanda.go: Deleted the redpandaTLSService function and associated configuration templates.
  • config/flipt.schema.cue: Simplified the schema by removing unnecessary comments and fields. [1] [2] [3] [4]

Minor Fixes:

@markphelps markphelps requested a review from a team as a code owner January 23, 2025 19:19
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jan 23, 2025
Copy link
Member

@GeorgeMac GeorgeMac left a comment

Choose a reason for hiding this comment

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

I think our two PRs are going to clobber each other a bit. But we will figure it out.

@markphelps markphelps merged commit e8a20dd into v2 Jan 24, 2025
6 of 29 checks passed
@markphelps markphelps deleted the v2-config-rework branch January 24, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants