Skip to content
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

Report the field that violated the updates to fields are forbidden constraint #20899

Open
jsoref opened this issue Nov 21, 2024 · 1 comment · May be fixed by argoproj/gitops-engine#654 or #21209
Open
Assignees
Labels
component:logging enhancement New feature or request type:usability Enhancement of an existing feature

Comments

@jsoref
Copy link
Member

jsoref commented Nov 21, 2024

Summary

Show at least one field/value change that violates the constraint

Motivation

one or more objects failed to apply, reason: StatefulSet.apps "postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden (retried 5 times).

Originally posted by @headyj in #10168 (comment)

The message is technically correct, but isn't really actionable as it isn't clear what is causing it (which of the hundreds of fields made the system unhappy).

Proposal

Identify at least one field that violates the immutable fields constraint.

@jsoref jsoref added the type:usability Enhancement of an existing feature label Nov 21, 2024
@aali309
Copy link
Contributor

aali309 commented Nov 22, 2024

assign this to me please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:logging enhancement New feature or request type:usability Enhancement of an existing feature
Projects
None yet
3 participants