Find Das Schiff network operator ConfigMaps
Recipe ID
io.moderne.kubernetes.sylva.migrate.dasschiff.FindNetworkOperatorConfigMapArtifactorg.openrewrite.recipe:rewrite-kubernetesInventory the ConfigMaps that configure Das Schiff's network operator, reporting for each data key how the value is written and how large it is. Each key is a whole embedded document the operator hands to its node agents as a file, not a setting. Nothing here reads those documents, so the report holds for any version of them.
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.FindNetworkOperatorConfigMapIf the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-kubernetes:RELEASEOptions
| Name | Type | Description |
|---|---|---|
configMapName | String | A glob matched against metadata.name. Replaces the default network-operator-*, the namePrefix that config/default gives every resource the operator ships, so a deployment that renames them is matched by this instead rather than as well. A ConfigMap still qualifies on either of the other two signals, so one carrying the operator label or a base-config.yaml key is reported whatever this is set to.e.g. schiff-network |
Data tables
Structured output this recipe can produce.
- Das Schiff network operator ConfigMapsOne row per `data` key of every `ConfigMap` that configures Deutsche Telekom's `das-schiff-network-operator`, describing where it lives and what shape it is in. A `ConfigMap` that declares no keys still gets a row, so that the inventory is of `ConfigMap`s and not only of keys.
io.moderne.kubernetes.sylva.migrate.dasschiff.table.NetworkOperatorConfigMaps - 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