-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
statefulset: explicit apiVersion and kind for volumeClaimTemplates #38981
Conversation
To avoid server-side apply diff. See kubernetes/kubernetes#87706 (comment)
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @sathieu! |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
...or is SSA doing something wrong? cc @apelisse to check? |
@lavalamp You are right, and I don't see why SSA is going thru conversion (we are using apps/v1 StatefulSet). |
I mostly understand what's going on but a few details are still a little fuzzy. What are some minimal steps to reproduce so I can take a better look? Thanks. |
It looks like the issue is coming from the way ArgoCD uses SSA (argoproj/argo-cd#11143 (comment)). Closing PR. |
The conversion introduced by kubernetes/kubernetes#87706 caused ServerSide-apply to generate a diff when the applied
volumeClaimTemplates
item has noapiVersion
orkind
.This PR recommends setting
apiVersion
andkind
.See argoproj/argo-cd#11143.