Skip to content

feat: configurable context key in which to put resolved extra resources #88

Merged
phisco merged 3 commits intocrossplane-contrib:mainfrom
sn-atmos:custom-context-key
Feb 18, 2026
Merged

feat: configurable context key in which to put resolved extra resources #88
phisco merged 3 commits intocrossplane-contrib:mainfrom
sn-atmos:custom-context-key

Conversation

@tenstad
Copy link
Contributor

@tenstad tenstad commented Feb 18, 2026

Description of your changes

Adds a context object to the top level of the input, with an optional key field, defaulting to the existing context key.

Enables outputting the resolved extra resources into e.g. the environment key apiextensions.crossplane.io/environment. However, it would be nice to specify Environment somehow, a bit like ToEnvironmentFieldPath in patch-and-transform.

Fixes #87

I have:

Signed-off-by: Amund Tenstad <github@amund.io>
Signed-off-by: Amund Tenstad <github@amund.io>
Signed-off-by: Amund Tenstad <github@amund.io>
Copy link
Collaborator

@phisco phisco left a comment

Choose a reason for hiding this comment

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

Looking good! Thanks @tenstad!

@phisco phisco merged commit 43fb31f into crossplane-contrib:main Feb 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to put results in the environment context, to be used in e.g. patch and transform

2 participants

Comments