kptdev / kpt

Automate Kubernetes Configuration Editing
https://kpt.dev
Apache License 2.0
1.7k stars 227 forks source link

Change the k8s resource names of Functions #3267

Open mortent opened 2 years ago

mortent commented 2 years ago

Packages and functions (both in OCI and Git) can contain characters disallowed in k8s resource names.

We have renamed packages https://github.com/GoogleContainerTools/kpt/pull/3007 and need to follow up with function resources as well.

yuwenma commented 1 year ago

I'm trying to clarify the requirements of this issue. @mortent Can you give an example of Function resource that uses invalid k8s names? If this is for future awareness of avoiding invalid k8s resources in KRM functions, I think we then need to add a CI test in the function catalog repo

yuwenma commented 1 year ago

I read the #3007 PR Morten linked. The "Function" here refers to the porch "Function" resources, not the KRM function images.