Skip to content

Dual Stack support - ArgoCD diffs #284

@Krajda0

Description

@Krajda0

Recently added DualStack support from @danielr1996 broke ArgoCD sync.

When minecraftServer.ipFamilies and minecraftServer.ipFamilyPolicy are left unset (as they are by default in values.yaml), the template rendered them unconditionally with empty values. ArgoCD detects these empty fields as a diff against the live Kubernetes resource (which omits them entirely), resulting in a perpetual out-of-sync state even when no real change has been made.

Both fields must be wrapped in {{- if }} blocks to suppress rendering when no value is provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions