crossplane-contrib / crossplane-contrib/function-patch-and-transform
Write to any context
- Vorherrschende Sprache
- Go
- Sterne
- 46
- Forks
- 41
- Ø Merge
- 1 T. 10 Std.
- Gemergte PRs (30 T.)
- 3
Beschreibung
This is a feature request to extend the `to` patch capabilities to any given context.
### What problem are you facing?
Similarly as what `ToEnvironmentFieldPath`/`CombineToEnvironment` patches do with `apiextensions.crossplane.io/environment` context, it would be nice to have a `ToContextFieldPath`/`CombineToContext` patch that writes into any (provided from a param) context.
### How could this Function help solve your problem?
This would help sharing information from pipeline steps without the need to dump information into the XR's status. Separation of EnvironmentConfig and other context/s may help avoid unexpected collisions.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, die vorhandenen Implementierungen der Patches ToEnvironmentFieldPath und CombineToEnvironment sowie deren Tests zu finden. Ermittle, wie ein Aufrufer den Zielkontext bereitstellen würde, und definiere das Verhalten für die Kontextauswahl und Kollisionen. Als erledigt gilt die Implementierung analoger Patches ToContextFieldPath und CombineToContext mit Abdeckung der angeforderten Anwendungsfälle.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100