Skip to content

Conversation

@labuladong
Copy link
Member

@labuladong labuladong commented Jul 31, 2025

If not set images.coordinator, will use images of every component

images:
  coordinator: null

Copilot AI review requested due to automatic review settings July 31, 2025 04:04
@labuladong labuladong requested review from a team as code owners July 31, 2025 04:04
@github-actions
Copy link

@labuladong: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 Jul 31, 2025
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 PR modifies the conditional logic for image configuration in Helm charts to allow the coordinator image to be optional. If the coordinator image is not set, the system will fallback to using component-specific images instead of relying solely on the coordinator configuration.

  • Updates conditional logic to check both coordinator component enablement and coordinator image availability
  • Wraps coordinator image specification in conditional blocks to handle unset scenarios
  • Applies changes consistently across both sn-platform and sn-platform-slim charts

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
charts/sn-platform/templates/zookeeper/zookeeper-cluster.yaml Updates condition to check both coordinator component and image availability
charts/sn-platform/templates/pulsar-coordinator/pulsar-coordinator.yaml Wraps coordinator image in conditional block
charts/sn-platform/templates/proxy/proxy-cluster.yaml Updates condition to check both coordinator component and image availability
charts/sn-platform/templates/broker/broker-cluster.yaml Updates condition to check both coordinator component and image availability
charts/sn-platform/templates/bookkeeper/bookkeeper-cluster.yaml Updates condition to check both coordinator component and image availability
charts/sn-platform-slim/templates/zookeeper/zookeeper-cluster.yaml Updates condition to check both coordinator component and image availability
charts/sn-platform-slim/templates/pulsar-coordinator/pulsar-coordinator.yaml Wraps coordinator image in conditional block
charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml Updates condition to check both coordinator component and image availability
charts/sn-platform-slim/templates/broker/broker-cluster.yaml Updates condition to check both coordinator component and image availability
charts/sn-platform-slim/templates/bookkeeper/bookkeeper-cluster.yaml Updates condition to check both coordinator component and image availability

@labuladong labuladong merged commit 60ff2e5 into master Jul 31, 2025
3 checks passed
@labuladong labuladong deleted the donglai/improve/coordinator branch July 31, 2025 04:23
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.

3 participants