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.
Recently added DualStack support from @danielr1996 broke ArgoCD sync.
When
minecraftServer.ipFamiliesandminecraftServer.ipFamilyPolicyare 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.