Use sub-chart for CRDs to reduce chart size#8283
Use sub-chart for CRDs to reduce chart size#8283jukie wants to merge 9 commits intoenvoyproxy:mainfrom
Conversation
✅ Deploy Preview for cerulean-figolla-1f9435 canceled.
|
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (0.00%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #8283 +/- ##
==========================================
- Coverage 73.60% 73.57% -0.04%
==========================================
Files 242 242
Lines 37000 37003 +3
==========================================
- Hits 27235 27226 -9
- Misses 7847 7857 +10
- Partials 1918 1920 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
81f8d6f to
2e6eed9
Compare
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
|
Looks good! |
|
This shouldn't have any affect on the normal user flow if I've understood it correctly |
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
|
/retest |
|
If users install CRDs separately (for example via gateway-crds-helm), they should update the install command: vs before: |
|
Good catch, thanks I'll update it. |
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
|
/retest |
1 similar comment
|
/retest |
| description: Envoy Gateway and Gateway API CRDs | ||
| type: application | ||
| version: 0.0.0 | ||
| appVersion: "0.0.0" |
There was a problem hiding this comment.
do we skip the versioning? appVersion could reflect the gwapi crds version
We're now at the point where any CRD change will bring us over the size limit and we need to adjust the helm chart setup.
The size limit for the helm release secret is 1,048,576 bytes and an install via
make create-cluster kube-install-image kube-deployon the main branch at e56785c is 1,047,388 bytes.Failing example: https://github.com/envoyproxy/gateway/actions/runs/22075275197/job/63789996939
This change moves the crds to a separate sub-chart which won't be included in the generated helm release secret to and keeps the size under the limit (down to ~24k bytes):
This is a similar approach to what victoria-metrics did when hitting the same issue - ref VictoriaMetrics/helm-charts#603
Helm discussion: helm/helm#11493