Migrate Das Schiff traffic mirror configuration to intent resources
Recipe ID
io.moderne.kubernetes.sylva.migrate.dasschiff.MigrateMirrorConfigToIntentArtifactorg.openrewrite.recipe:rewrite-kubernetesRewrite Das Schiff MirrorTarget and MirrorSelector resources into the Collector and TrafficMirror that replace them. A Collector repeats its loopback's subnet inline, so a target whose mirror VRF is not declared in the same manifest is reported rather than moved.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe io.moderne.kubernetes.sylva.migrate.dasschiff.MigrateMirrorConfigToIntentIf the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-kubernetes:RELEASEOptions
| Name | Type | Description |
|---|---|---|
fileMatcher | String | Matching files will be modified. This is a glob expression. e.g. **/mirror-*.yml |
Data tables
Structured output this recipe can produce.
- Traffic mirror configurationsDeutsche Telekom `MirrorTarget` and `MirrorSelector` resources that the `network-connector.sylvaproject.org` `Collector` and `TrafficMirror` replace, and whether each one can be moved mechanically.
io.moderne.kubernetes.sylva.migrate.dasschiff.table.MirrorConfigs - Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats