crossplane-contrib / crossplane-contrib/function-environment-configs

Support output overrides

Open
#48 3 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
28
Forks
25
Avg merge
5d 19h
Merged PRs (30d)
2

Description

### What problem are you facing?

Add the ability to override the merged context with fields coming from the XR.
For example this is useful in scenarios where we _load_ fields from an `EnvironmentConfig` such as `region` and we want to transparently override this to all context users (subsequent pipeline steps) with a value from the XR (e.g. under `spec.parameters.region`).
Even though this could be done by adding an additional step to mutate the context, doing this from `function-environment-config` would be useful and saves an extra step in the pipeline.

### How could this Function help solve your problem?

Implement a way to copy a value from an XR path to the resulting (merged) context.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.