Skip to content

bugfix - dualstack service argocd fix#285

Merged
itzg merged 1 commit intoitzg:masterfrom
Krajda0:master
Mar 2, 2026
Merged

bugfix - dualstack service argocd fix#285
itzg merged 1 commit intoitzg:masterfrom
Krajda0:master

Conversation

@Krajda0
Copy link
Copy Markdown
Contributor

@Krajda0 Krajda0 commented Mar 1, 2026

Fix for #284

Copilot AI review requested due to automatic review settings March 1, 2026 20:35
Copy link
Copy Markdown

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 fixes a Helm rendering issue that caused perpetual ArgoCD out-of-sync diffs when dual-stack-related Service fields were left unset (the default), aligning the rendered manifest with how Kubernetes omits unset optional fields.

Changes:

  • Conditionally render spec.ipFamilies only when minecraftServer.ipFamilies is provided.
  • Conditionally render spec.ipFamilyPolicy only when minecraftServer.ipFamilyPolicy is provided.
  • Bump the chart version to 5.1.2.

Reviewed changes

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

File Description
charts/minecraft/templates/minecraft-svc.yaml Wraps optional dual-stack Service fields in if blocks to avoid emitting empty values that trigger ArgoCD diffs.
charts/minecraft/Chart.yaml Increments chart version for the bugfix release.

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

Copy link
Copy Markdown
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

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

Thanks!

@itzg itzg merged commit 884144c into itzg:master Mar 2, 2026
4 of 5 checks passed
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.

3 participants