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

Bugfix: Fix ingress error causing spec and Rules to be on single line #22

Merged
merged 2 commits into from
Dec 10, 2022
Merged

Bugfix: Fix ingress error causing spec and Rules to be on single line #22

merged 2 commits into from
Dec 10, 2022

Conversation

JoshuaJackson-jobvite
Copy link
Contributor

@JoshuaJackson-jobvite JoshuaJackson-jobvite commented Dec 9, 2022

Description of the change

Introduced recently in the TLS section is the {{- end -}} where we suppress the newline. This causes the rules to end up on the same line as the previous section and would break the schema and get something like spec:rules: which is invalid

Changes the {{- end -}} for the TLS section of the ingress to not suppress the newline

Existing or Associated Issue(s)

Fixes: #21

Checklist

  • Chart version bumped in Chart.yaml according to semver.
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

Why do we need this change?
=======================
Introduced recently in the TLS section is the {{- end -}} where we suppress the newline. This causes the rules to end up on the same line as the previous section and would break the schema and get something like spec:rules: which is invalid

What effects does this change have?
=======================
Changes the {{- end -}} for the TLS section of the ingress to not suppress the newline
@JoshuaJackson-jobvite JoshuaJackson-jobvite requested a review from a team as a code owner December 9, 2022 23:31
@JoshuaJackson-jobvite JoshuaJackson-jobvite changed the title [Bugfix] Fix ingress issue defined in issue 21 [Bugfix] Fix ingress error causing spec and Rules to be on single line Dec 9, 2022
@JoshuaJackson-jobvite JoshuaJackson-jobvite changed the title [Bugfix] Fix ingress error causing spec and Rules to be on single line Bugfix: Fix ingress error causing spec and Rules to be on single line Dec 9, 2022
Copy link
Member

@tumido tumido left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh, this is on me, I let it slip after a rebase here.

#17 (comment)

Thank you for the fix @JoshuaJackson-jobvite 1🙌

LGTM

@tumido tumido merged commit 1648c10 into backstage:main Dec 10, 2022
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

Successfully merging this pull request may close these issues.

with ingress fails to install chart due to invalid spec
2 participants