Add support for a Console migrator tool in docs #269
+680
−47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new Wasm module for migrating Redpanda Console configurations from v2 to v3, along with UI updates to support this new feature. The most important change is the creation of the Wasm module.
Try the tool: https://deploy-preview-269--docs-ui.netlify.app/console-migrator
Here is a test case:
New Wasm module for configuration migration:
console-config-migrator/main.go
: Implemented the main logic for migrating configurations, including functions for handling authentication, Kafka settings, role bindings, and other properties.console-config-migrator/go.mod
: Added the Go module definition and dependencies required for the Wasm module.Documentation updates:
console-config-migrator/README.md
: Added documentation for building and using the Wasm module for configuration migration.preview-src/console-migrator.adoc
: Created a new document for previewing the Redpanda Console migration tool and trying it out.UI enhancements:
src/css/ace-editor.css
: Added custom styles for the Ace editor used in the migration tool UI.src/css/modal.css
: Introduced styles for modal dialogs.preview-src/index.adoc
: Added a link to the new Console migration tool in the documentation index.These changes will enable users to migrate their Redpanda Console configurations from v2 to v3 directly within their browser, providing a more seamless and user-friendly experience.