Skip to content

Conversation

@carlosjgp
Copy link

@carlosjgp carlosjgp commented Aug 22, 2025

@carlosjgp
Copy link
Author

ksnip_20250903-140859

@samuelattwood
Copy link
Member

Hi @carlosjgp. Would you mind explaining the motivation for this change? Defining apiVersion and kind is not required in the context of a statefulset volumeClaimTemplates array. The Kubernetes docs follow the same pattern as the NATS chart.

@carlosjgp
Copy link
Author

Hi @carlosjgp. Would you mind explaining the motivation for this change? Defining apiVersion and kind is not required in the context of a statefulset volumeClaimTemplates array. The Kubernetes docs follow the same pattern as the NATS chart.

While these fields are optional, after creating the object the K8s/k3s API returns these optionial fields as part of the spec

This causes constant differences in GitOps tools, in my case ArgoCD.

if we don't merge this PR then every user of this chart would have to add an exclusion to to their gitops tool to explicitly ignore this difference... this is normally not recommended since other expected changes could be ignore too

I hope that makes sense

Also that documentation is 9y old
ksnip_20250904-144638

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