crossplane-contrib / crossplane-contrib/function-kcl

Reference KCLInput in the Composition from in cluster.

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
87
Forks
44
Avg merge
10h 43m
Merged PRs (30d)
18

Description

### What problem are you facing?
In my compositions, I would like to be able to reference a KCLInput that is already applied in cluster instead of mounting a cm or referencing an external git/oci repo.

```yaml
kind: Composition
# ...
mode: Pipeline
pipeline:
- step: basic
functionRef:
name: function-kcl
input:
apiVersion: krm.kcl.dev/v1alpha1 # side note: this seems to be the wrong group/version now?
kind: KCLInput
sourceRef:
name: basic # something like this
```

The development feedback loop for these functions hurt... Maybe I don't have the proper dev flow figured out yet?

### How could this Function help solve your problem?
If i could reference my KCLInput CRD in my composition directly instead of inlining I would be able to better revise and develop these.

Thanks for your work!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Composition pipeline input and KCLInput sourceRef shown in the issue, and verify the current apiVersion and group for KCLInput. Determine how an already-applied KCLInput could be resolved by function-kcl; done means a Composition can reference it by name without mounting a ConfigMap or using an external Git or OCI source.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.