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

Kubernetes metadata object #456

Open
kwarunek opened this issue Jan 30, 2025 · 0 comments
Open

Kubernetes metadata object #456

kwarunek opened this issue Jan 30, 2025 · 0 comments

Comments

@kwarunek
Copy link

Currently, the schemas in this catalog define metadata as a plain object (eg https://github.com/datreeio/CRDs-catalog/blob/main/mutations.gatekeeper.sh/assign_v1.json) with additionalProperties: false, allowing only the certain fields. But in fact metadata is ObjectMeta that is common and well defined structure that allows labels, annotations...

This causes validation issues with kubeconform after a GitOps workflow (e.g., after validating output of flux build), as Flux adds labels and annotations to the metadata field.

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

No branches or pull requests

1 participant