Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apim-certs.yaml prevents successful helm upgrade #152

Closed
stackedsax opened this issue Jan 3, 2019 · 5 comments
Closed

apim-certs.yaml prevents successful helm upgrade #152

stackedsax opened this issue Jan 3, 2019 · 5 comments

Comments

@stackedsax
Copy link

stackedsax commented Jan 3, 2019

Looks like apim-certs.yaml falls prey to the same issue as reported here:

If I understand it correctly, a comment followed by a variable will ignore the variable and the following line, too. This isn't apim-certs.yaml's fault, but it prevents helm upgrade from running. An upgrade will return this error:

Error: UPGRADE FAILED: failed to create patch: failed to get versionedObject: Object 'apiVersion' is missing in 'unstructured object has no version'

SImply moving the apim-certs.yaml out of the templates directory will solve the issue, but if you actually want to run that template, you're out of luck at the moment.

I'll see if I can find a fix for it.

@DonMartin76
Copy link
Member

This should be fixed in the wicked_1_0 branch of the Helm template; which branch did you use, or did you use the packaged one?

If so, it's weird, as it should be in there. Will investigate, thanks for reporting!

@DonMartin76
Copy link
Member

For the sake of completeness, here's the fix (from September):

6b56dc6#diff-1c13465e24d91aca4d3ddaa1bc3e7027

@stackedsax
Copy link
Author

I was using the 0.12.1 branch. I'll make the changes locally while I use this branch. I'll return to the 1.0 branch in a little bit. Thanks for the fix!

@DonMartin76
Copy link
Member

The 0.12.1 branch does not contain the portal-auth component, so beware of that, if you're trying to use the old helm chart with the new beta.

@stackedsax
Copy link
Author

stackedsax commented Jan 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants