Skip to content

Helm Chart: Juice-Shop - Ingress installation failed because of 'apiVersion not set'#698

Merged
J12934 merged 2 commits intosecureCodeBox:mainfrom
fbuchmeier-abi:main
Oct 5, 2021
Merged

Helm Chart: Juice-Shop - Ingress installation failed because of 'apiVersion not set'#698
J12934 merged 2 commits intosecureCodeBox:mainfrom
fbuchmeier-abi:main

Conversation

@fbuchmeier-abi
Copy link
Contributor

@fbuchmeier-abi fbuchmeier-abi commented Oct 4, 2021

Description

  • fixed 'error validating : error validating data: apiVersion not set' when installing with 'ingress.enabled=true'

When enabling the ingress resource, the first {- template block would remove the line feeds between the apiVersion and the comments at the beginning of the file, causing the apiVersion to be omitted and the resource from failing to install.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • [NA] Make sure npm test runs for the whole project.
  • [NA] Make codeclimate checks happy

@fbuchmeier-abi fbuchmeier-abi changed the title Helm Chart: Ingress installation failed because of 'apiVersion not set' Helm Chart: Juice-Shop - Ingress installation failed because of 'apiVersion not set' Oct 4, 2021
@nigthknight nigthknight self-assigned this Oct 4, 2021
@nigthknight
Copy link
Member

Thanks for your contribution!

Would you please be so kind and sign our DCO as described here and amend the sign-of to your commits?

@nigthknight nigthknight added the bug Bugs label Oct 4, 2021
… set' when installing with 'ingress.enabled=true'

Signed-off-by: Florian Buchmeier <[email protected]>
@fbuchmeier-abi
Copy link
Contributor Author

@fuhrmeistery, thanks for the heads up! I've added the sign-off.

Regards,
Florian.

@nigthknight
Copy link
Member

@fbuchmeier-abi thanks for adding the sign-off. Could you please also add yourself to the contributors list as described here?
Regards
Yannik

@fbuchmeier-abi
Copy link
Contributor Author

@fuhrmeistery well of course, thanks for babysitting me 👍

@J12934 J12934 merged commit 5ec5b2b into secureCodeBox:main Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants