vmware-tanzu / tanzu-framework

Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverages Carvel packaging and plugins to provide users with a much stronger, more integrated experience than the loose coupling and stand-alone commands of the previous generation of tools.
Apache License 2.0
196 stars 193 forks source link

Add Support to annotate package on install #1137

Open calebwashburn opened 2 years ago

calebwashburn commented 2 years ago

(This is used to request new product features)

Describe the feature request Want ability to annotate the PackageInstall CRD with annotations that leverage custom ytt overlays for that package. Currently you have to install then annotate post install with something like below

kubectl annotate PackageInstall INSTALLED-PACKAGE-NAME ext.packaging.carvel.dev/ytt-paths-from-secret-name.NUMBER=SECRET-NAME

Describe alternatives you've considered None

Affected product area (please put an X in all that apply)

Additional context

vrabbi commented 2 years ago

This would be extremely helpful!!!!

shyaamsn commented 2 years ago

@cppforlife FYI

jorgemoralespou commented 2 years ago

Linked issues on kctrl: https://github.com/vmware-tanzu/carvel-kapp-controller/issues/674, https://github.com/vmware-tanzu/tanzu-framework/issues/413, https://github.com/vmware-tanzu/tanzu-framework/issues/1137, https://github.com/vmware-tanzu/carvel-kapp-controller/issues/123

100mik commented 2 years ago

kctrl version 0.41.2 includes --ytt-overlay flags!

renuy commented 2 years ago

bump the version of kctrl in package plugin