arttor / helmify

Creates Helm chart from Kubernetes yaml
MIT License
1.44k stars 132 forks source link

Priority class created but name isn't match #114

Open uniuuu opened 1 year ago

uniuuu commented 1 year ago

When run: awk 'FNR==1 && NR!=1 {print "---"}{print}' manifests/*.yaml | helmify project Priority Class objects are created but the name of each class appended with prefix of the project (helm chart) name. While in templates/deployment.yaml and templates/statefulset.yaml priority class names are unchanged and when deploying chart it makes replicasets to fail with:

Warning FailedCreate 86s (x16 over 4m11s) replicaset-controller Error creating: pods "project-k8s-server-79466b6fc-" is forbidden: no PriorityClass with name low-priority was found because priority class names aren't match.

arttor commented 1 year ago

Hi, can you please provide sample manifests?