Skip to content

Reference KCLInput in the Composition from in cluster. #260

Description

@archae0pteryx

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.

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions