sitewards / helm-chart

Makes develping the chart boilerplate easier.
MIT License
33 stars 12 forks source link

Chart.yaml generated doesn't match template #21

Open benmathews opened 6 years ago

benmathews commented 6 years ago

It appears that the generated Chart.yaml is coming from helm, not from your template. If I create a foo chart, then the contents of Chart.yaml are

apiVersion: v1
description: A Helm chart for Kubernetes
name: foo
version: 0.1.0

The remainder of your templates though are included.

$ ls foo/
charts/            .helmignore        PERSISTENCE.md     requirements.yaml  values.yaml        
Chart.yaml         Jenkinsfile        README.md          templates/         
$ ls foo/templates/
certificate.yaml  daemonset.yaml   _helpers.tpl  NOTES.txt  role-binding.yaml  secret.yaml           service.yaml
configmap.yaml    deployment.yaml  job.yaml      pvc.yaml   role.yaml          service-account.yaml
andrewhowdencom commented 6 years ago

Indeed. I haven't found a way to get around this limitation -- I usually just copy and paste it in. Perhaps we can open a bug in the upstream helm project?

Edit: Referenced here https://github.com/kubernetes/helm/blob/master/docs/charts.md#chart-starter-packs

benmathews commented 6 years ago

Sounds like a good idea. There is no documentation that I could find on the starter scaffolding feature. Yours and one other project are all I could find as a sample to base my own efforts off of.

On Tue, Dec 5, 2017 at 7:24 AM, Andrew Howden notifications@github.com wrote:

Indeed. I haven't found a way to get around this limitation -- I usually just copy and paste it in. Perhaps we can open a bug in the upstream helm project?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sitewards/helm-chart/issues/21#issuecomment-349318689, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbPrHiMUS7-Kjp6yhuExVUkt5saB-2gks5s9VICgaJpZM4Q1XtM .

-- Ben Mathews