Skip to content

Conversation

@tuteng
Copy link
Member

@tuteng tuteng commented Jan 23, 2026

(If this PR fixes a github issue, please add Fixes #<xyz>.)

Fixes #

(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)

Master Issue: #

Motivation

Explain here the context, and why you're making that change. What is the problem you're trying to solve.

Modifications

Describe the modifications you've done.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@tuteng tuteng requested review from a team as code owners January 23, 2026 04:00
Copilot AI review requested due to automatic review settings January 23, 2026 04:00
@github-actions
Copy link

@tuteng:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions bot added the doc-info-missing This pr needs to mark a document option in description label Jan 23, 2026
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

This pull request adds support for configuring Istio revision values in the sn-platform and sn-platform-slim Helm charts. The revision field allows users to specify which Istio control plane revision to use for sidecar injection, which is essential for supporting Istio canary upgrades and multi-revision deployments.

Changes:

  • Added a new revision field to the istio configuration section in both charts' values.yaml files
  • Applied the revision configuration to broker, bookkeeper, and zookeeper cluster templates where Istio is enabled
  • Maintained consistency with existing conditional patterns for optional Istio features

Reviewed changes

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

Show a summary per file
File Description
charts/sn-platform/values.yaml Added revision field with documentation to istio configuration
charts/sn-platform/templates/broker/broker-cluster.yaml Added conditional revision field to broker's istio configuration
charts/sn-platform-slim/values.yaml Added revision field with documentation to istio configuration
charts/sn-platform-slim/templates/broker/broker-cluster.yaml Added conditional revision field to broker's istio configuration
charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml Added conditional revision field to bookkeeper's istio configuration
charts/sn-platform-slim/templates/zookeeper/zookeeper-cluster.yaml Added conditional revision field to zookeeper's istio configuration

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

# prometheus and grafana will not be Istio injected if mergeMetrics is enabled
mergeMetrics: false
# Istio revision to use for control plane injection
# When set, this revision will be applied to broker, bookkeeper, and zookeeper components
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

The comment states that the revision will be applied to "broker, bookkeeper, and zookeeper components", but the proxy component also has an istio configuration section and would benefit from revision support for consistency. Consider updating the proxy-cluster.yaml template to include the revision field in its istio section, and update this comment to reflect all components that support the revision field.

Suggested change
# When set, this revision will be applied to broker, bookkeeper, and zookeeper components
# When set, this revision will be applied to broker, bookkeeper, zookeeper, and proxy components

Copilot uses AI. Check for mistakes.
# Leave empty for default behavior (sidecar mode)
dataplaneMode: ""
# Istio revision to use for control plane injection
# When set, this revision will be applied to broker, bookkeeper, and zookeeper components
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

The comment states that the revision will be applied to "broker, bookkeeper, and zookeeper components", but the proxy component also has an istio configuration section and would benefit from revision support for consistency. Consider updating the proxy-cluster.yaml template to include the revision field in its istio section, and update this comment to reflect all components that support the revision field.

Suggested change
# When set, this revision will be applied to broker, bookkeeper, and zookeeper components
# When set, this revision will be applied to all components that support Istio revision configuration

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-info-missing This pr needs to mark a document option in description

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants