Skip to content

Conversation

@jawnsy
Copy link

@jawnsy jawnsy commented Dec 6, 2021

  • Add ingress section to values.yaml and re-generate documentation
  • Add tests for ingress settings
  • Change comment syntax to {{/* */}} to prevent it from appearing in the generated Ingress spec

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #18924: Remove compatibility code for old ingress controller.

@jawnsy jawnsy self-assigned this Dec 6, 2021
@jawnsy jawnsy marked this pull request as ready for review December 6, 2021 23:50
@jawnsy jawnsy requested a review from misskniss December 6, 2021 23:55
@jawnsy
Copy link
Author

jawnsy commented Dec 7, 2021

This has some of the changes in #169 (namely, exposing the ingress in our docs), but I split it into a separate PR to make it less risky and easier to review

* Add ingress section to values.yaml and re-generate documentation
* Add tests for ingress settings
* Change comment syntax to {{/* */}} to prevent it from appearing
  in the generated Ingress spec
@jawnsy jawnsy force-pushed the jawnsy/sc-18924/add-ingress-public branch from 07913a2 to 60a8175 Compare December 7, 2021 00:05
@jawnsy jawnsy requested a review from Emyrk December 7, 2021 00:06
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

I haven't tested this, but it looks fine to me. Some minor comments.

Copy link
Member

@Emyrk Emyrk left a comment

Choose a reason for hiding this comment

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

Those tests look tedious to write!

@jawnsy
Copy link
Author

jawnsy commented Dec 7, 2021

Those tests look tedious to write!
@Emyrk They are kinda tedious, yeah 😦 But less tedious than always testing things manually, I think!

Do you have ideas for how to improve/simplify the API or test code? I'm open to suggestions!

I'm not in love with this code, but it's better than the alternative of manual tests only

@jawnsy
Copy link
Author

jawnsy commented Dec 7, 2021

Tested this in dev-4 and everything deploys fine, should be safe to merge

@jawnsy jawnsy merged commit 92e8f3b into main Dec 7, 2021
@jawnsy jawnsy deleted the jawnsy/sc-18924/add-ingress-public branch December 7, 2021 18:16
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.

3 participants