Skip to content

Commit 5dd6f9f

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 cab6837 commit 5dd6f9f

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
@@ -26,6 +26,10 @@ global:
2626
# List of secrets in the same namespace of the component that can be used to pull images from private repositories.
2727
pullSecrets: []
2828

29+
# Values for CRDs dependency
30+
crds:
31+
enabled: true
32+
2933
# -- Labels to apply to all resources
3034
commonLabels: {}
3135

release-notes/current.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ new features: |
4646
Added support for OpenTelemetry sampler configuration for tracing.
4747
Added support for default EnvoyProxy settings on EnvoyGatewaySpec that can be overridden by GatewayClass or Gateway-level EnvoyProxy configurations. A new MergeType field allows choosing between Replace (default), StrategicMerge, or JSONMerge strategies for combining configurations.
4848
Added support for sending Envoy Gateway route metadata to external authorization backends via `SecurityPolicy.spec.extAuth.includeRouteMetadata`.
49+
Added support for disabling the `crds` dependency on the gateway-helm chart via `crds.enabled` variable.
4950
5051
bug fixes: |
5152
Fixed local rate limit rules with identical sourceCIDR client selectors producing conflicting descriptors.

0 commit comments

Comments
 (0)