Skip to content

Commit 1159cc7

Browse files
committed
feat(helm): add CRDs dependency toggle
Allow skipping installation of the `crds` dependency on the gateway-helm chart by providing a conditional `crds.enabled` variable. This boolean defaults to `true` and toggles the inclusion of the dependency on the parent chart. ref: #8560 Signed-off-by: Gaston Festari <cilindrox@gmail.com>
1 parent dd3fe7b commit 1159cc7

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

charts/gateway-helm/Chart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ sources:
2727
dependencies:
2828
- name: crds
2929
version: "0.0.0"
30+
condition: crds.enabled

charts/gateway-helm/values.tmpl.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ global:
3535
# List of secrets in the same namespace of the component that can be used to pull images from private repositories.
3636
pullSecrets: []
3737

38+
# Values for CRDs dependency
39+
crds:
40+
enabled: true
41+
3842
# -- Labels to apply to all resources
3943
commonLabels: {}
4044

release-notes/current.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ security updates: |
99
1010
# New features or capabilities added in this release.
1111
new features: |
12+
Added support for disabling the `crds` dependency on the gateway-helm chart via `crds.enabled` variable.
1213
1314
bug fixes: |
1415
Fixed the xDS server in GatewayNamespaceMode serving a stale certificate after cert-manager rotation by re-reading the cert from disk on every TLS handshake.

0 commit comments

Comments
 (0)