kubernetes-retired/kube-aws

kube-aws apply/validate throws "ERROR: Bad template: apiVersion: v1"

faseyiks opened this issue · 4 comments

Hi guys
I am using this for the first time.I have followed the documentation and everything seems alright until "apply".

Further errors are
Error: failed to initialize control-plane stack: failed to load controller node extras from plugins: failed adding kubernetes manifests to controller: Failed to render plugin kubernetes manifest: failed to execute template: template: template:29:131: executing "template" at <insertTemplateFile .Values.tls.certificates.path.certPath .>: error calling insertTemplateFile: open credentials/dashboard.pem: no such file or directory

Hey @faseyiks,

Do you happen to remember which version of kube-aws you was using?

I had this issue today using https://github.com/kubernetes-incubator/kube-aws/releases/tag/v0.16.0 and following the quick-start guide.

I solved it simply by disabling dashboard but for quick start you'd hope that everything would "just work" or that disabling it would be mentioned in the doc.

@dominicgunn
I ran into this issue using 0.15.2. It seems that on the first pass, of a new cluster, render credentials cannot consider plugins. To successfully render everything you have to render credentials, stack, and then credentials again.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale