Skip to content

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

Open
argoproj/gitops-engine
#654
@jsoref

Description

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.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions