-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[bitnami/contour] Sync upstream changes and chart standardization #3381
[bitnami/contour] Sync upstream changes and chart standardization #3381
Conversation
The most important change is the refactoring of the shutdown sidecar: projectcontour/contour@7cd9f4a Signed-off-by: Marco Kilchhofer <marco@kilchhofer.info>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mkilchhofer thank you so much for the PR, please take a look at my comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, could you fix the errors when deploying the chart? it seems it cannot execute the readiness probe well or doesn't get the proper response.
Hi @dani8art, I would love to fix them, but it is not possible. Please read what your colleague @marcosbc wrote here: #3367
|
> As a reminder, support for IngressRoute was officially dropped in v1.6. > If you haven’t already migrated to HTTPProxy, see the IngressRoute to > HTTPProxy migration guide for instructions on how to do so. Once you have > migrated, delete the IngressRoute and related CRDs. Ref: https://projectcontour.io/resources/upgrading/ Signed-off-by: Marco Kilchhofer <marco@kilchhofer.info>
62175fb
to
7a006fb
Compare
Signed-off-by: Marco Kilchhofer <marco@kilchhofer.info>
API group contour.heptio.com is no longer supported since 1.6.x
Signed-off-by: Marco Kilchhofer <marco@kilchhofer.info>
8a8c196
to
222f848
Compare
I found a hint in PR bitnami#2721 that it should be possible to override values used in GH actions.
222f848
to
8bab0b3
Compare
Finally the tests are green 🟢 💯 🥳 |
…tions" This was requested during the review process by dani8art. This reverts commit 253a8ec.
Hi @dani8art |
Hi @mkilchhofer we went deeper on these changes and we saw you are introducing and modify CRDs. We would like to consider these changes as a major version and take this opportunity to include some of our standardization and recent common features. Even though a We know that adding those standardization and common features may be out of scope for you but I can help you to manage this. We would like to include the next list of features.
|
Hi @dani8art I only want to mention that the guys behind projectcontour (mainly the heptio.com people which are now part of VMware) talks about using the bitnami chart and already prepared their changes: Do we still need to support helm2 for all the bitnami charts? |
Signed-off-by: Marco Kilchhofer <marco@kilchhofer.info>
9e31042
to
09d94d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for these amazing changes, please take a look at my latest comments.
Could we use these other helpers as well? https://github.com/bitnami/charts/blob/master/bitnami/common/templates/_capabilities.tpl
We could use the one for the Deployment |
This was requested during review by @dani8art
a9a6f67
to
1f3456c
Compare
Helm2 uses Sprig v2 and therefore the funtion "get" is not available there. Since we need to guarantee helm v2 support, we need to workaround this.
@mkilchhofer thank you for improving my Chart. :) |
I would use it for the one that we have implemented in the common, please. |
Thanks for the review again @dani8art. I will implement the changes 👍 But before I go on, I made a proposal here to refactor the whole chart into subfolders based on components mkilchhofer#4. WDYT? Is it a good idea? If so, I would merge this in before I make changes to not do my changes twice :) Update: changes are outside of the restructured files and therefore I updated both this PR and PR mkilchhofer#4. |
Services for ServiceMonitor do not need to allocate an IP address. We therefore do not waste IPs from the services CIDR pool for this.
Yes I think it would be a good approach LGTM! |
Superb :) I now merged these changes also on this PR here. So from my point of view, we now should be done with all the requested changes, right? |
Yes, regarding changes suggested by bitnami team it is all ok. If you are ok with your changes/refactors we could proceed to test it internally in our CI/CD system. Do you agree? |
Sure. I hope we get green light from your CI/CD system :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have got the green light!
@mkilchhofer Thank you so much for this amazing job!
Description of the change
The most important change is the refactoring of the shutdown sidecar:
projectcontour/contour@7cd9f4a
I manually diff'ed the example manifests here: https://github.com/projectcontour/contour/tree/master/examples/contour
Benefits
By using this configuration in combination with contour version
1.7.0
the envoys now properly entering into theDRAINING
state when the pods needs to be terminated.Additionally this change fixes the failing pipeline issue.
Possible drawbacks
-
Applicable issues
-
Additional information
-
Checklist
Chart.yaml
according to semver.[bitnami/chart]
)values-production.yaml
apart fromvalues.yaml
, ensure that you implement the changes in both files