Skip to content

fix(argo-rollouts): Remove deprecated preserveUnknownFields field from CRDs#3632

Closed
cmorinupgrade wants to merge 1 commit intoargoproj:mainfrom
cmorinupgrade:fix/argo-rollouts-remove-deprecated-preserveUnknownFields
Closed

fix(argo-rollouts): Remove deprecated preserveUnknownFields field from CRDs#3632
cmorinupgrade wants to merge 1 commit intoargoproj:mainfrom
cmorinupgrade:fix/argo-rollouts-remove-deprecated-preserveUnknownFields

Conversation

@cmorinupgrade
Copy link
Copy Markdown

Summary

Removes the deprecated preserveUnknownFields field from all argo-rollouts CRDs. This field has been deprecated in Kubernetes API and should be removed from CRD specifications.

Details

The preserveUnknownFields field at the CRD spec level was deprecated in favor of the more granular x-kubernetes-preserve-unknown-fields field within OpenAPI schemas. This change:

  • Removes preserveUnknownFields: false from all 5 argo-rollouts CRDs
  • The modern x-kubernetes-preserve-unknown-fields field is already correctly placed in the OpenAPI schema definitions where needed
  • No functional changes to CRD behavior

Affected CRDs

  • rollout-crd.yaml
  • analysis-run-crd.yaml
  • analysis-template-crd.yaml
  • cluster-analysis-template-crd.yaml
  • experiment-crd.yaml

Testing

The CRDs maintain their existing validation behavior as x-kubernetes-preserve-unknown-fields is already properly set in the schema definitions.

Checklist

  • Chart version bumped (2.40.5 -> 2.40.6)
  • Changelog added to Chart.yaml annotations
  • Follows conventional commits format
  • Single chart modification (argo-rollouts only)

…m CRDs

The preserveUnknownFields field at the CRD spec level has been deprecated
in Kubernetes and should be removed. The modern x-kubernetes-preserve-unknown-fields
field is already present in the OpenAPI schema definitions where needed.

This change removes the deprecated field from all 5 argo-rollouts CRDs:
- rollout-crd.yaml
- analysis-run-crd.yaml
- analysis-template-crd.yaml
- cluster-analysis-template-crd.yaml
- experiment-crd.yaml
@yu-croco
Copy link
Copy Markdown
Collaborator

Thank you for your PR. Some people made the same PRs and we've been waiting for upstream to release it since we follow upstream's manifest.

@yu-croco yu-croco added the awaiting-upstream Is waiting for a change upstream to be completed before it can be merged. label Dec 10, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 9, 2026

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

argo-rollouts awaiting-upstream Is waiting for a change upstream to be completed before it can be merged. no-pr-activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants