Skip to content

feat(chart): add topologySpreadConstraints#58

Open
bramwelt wants to merge 1 commit into
mainfrom
feat/LFXV2-1167-topology-spread
Open

feat(chart): add topologySpreadConstraints#58
bramwelt wants to merge 1 commit into
mainfrom
feat/LFXV2-1167-topology-spread

Conversation

@bramwelt

Copy link
Copy Markdown

Summary

  • Adds {{- with .Values.topologySpreadConstraints }} block to deployment.yaml so pods can be spread across nodes and availability zones via Helm values
  • Enables the ArgoCD values for this service to take effect (LFXV2-1167)

Issue: LFXV2-1167

🤖 Generated with Claude Code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Issue: LFXV2-1167
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Copilot AI review requested due to automatic review settings June 22, 2026 18:22
@bramwelt bramwelt requested a review from a team as a code owner June 22, 2026 18:22

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the Helm chart for lfx-v2-member-service to allow configuring Kubernetes topologySpreadConstraints via Helm values, enabling ArgoCD-provided values (per LFXV2-1167) to affect the rendered Deployment.

Changes:

  • Add a conditional topologySpreadConstraints block to the Deployment pod spec template.
  • Render the constraints using toYaml with proper indentation when the value is provided.

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

Comment on lines +22 to +25
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants