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

ScaledJob: Support metadata annotations for ephemeral volume claims #6259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dpertin
Copy link

@dpertin dpertin commented Oct 22, 2024

Add x-kubernetes-preserve-unknown-fields to ScaledJob CRD in order to support metadata in ephemeral volume claims

Based on #1311

Previously, ArgoCD used to see a diff, bypassed the error but kept the application "OutOfSync":
image
Yet a warning was triggered: unknown field "spec.jobTargetRef.template.spec.volumes[5].ephemeral.volumeClaimTemplate.metadata.annotations"

Now the change is applied, the desired block is part of the "live manifest" and the application is "Synced":
image

Checklist

Fixes #6254

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.

Support metadata annotations in ScaledJob template's volume claims
1 participant