Skip to content

Conversation

@AndrejsPon00
Copy link
Contributor

Add an option to disable automatic Gateway resource creation, allowing custom Gateway resources to be managed externally without colliding with the default one.

Copilot AI review requested due to automatic review settings February 12, 2026 07:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a Helm values toggle to optionally skip deploying the default Istio Gateway resource, enabling externally-managed/custom Gateways without collisions.

Changes:

  • Introduces gateway.resource.enabled (default true) in chart values.
  • Wraps Gateway-related templates/entries with conditionals to skip rendering when disabled.
  • Ensures the ConfigMap template renders the Gateway manifest without the enabled key.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
charts/k0rdent-istio/values.yaml Adds gateway.resource.enabled flag to control Gateway resource deployment.
charts/k0rdent-istio/templates/gateway/svctmpl.yaml Conditionally renders the ServiceTemplate based on the new flag.
charts/k0rdent-istio/templates/gateway/mcs.yaml Conditionally includes the gateway-template entry in the MCS spec.
charts/k0rdent-istio/templates/gateway/cm-template.yaml Gates ConfigMap rendering on management mode + enabled flag; omits enabled from serialized Gateway.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AndrejsPon00 AndrejsPon00 force-pushed the disable-gateway-resource branch from d7654dc to 85e78f7 Compare February 12, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants