Closed pdeva closed 1 year ago
PodDisruptionBudget
became stable in K8s version 1.21.
From your screenshot, I can see that you are using schema version 1.20:
You need to change your default schema version to match your cluster version: https://hub.datree.io/cli/schema-validation
This issue 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.
Describe the bug datree fails with error when using kustomize module:
k8s schema validation error: could not find schema for PodDisruptionBudget
To Reproduce
base
withkustomization.yaml
that points to aPodDisruptionBudget
resourcedatree kustomize test base
Expected behavior should show no error
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Datree version (run
datree version
):Client ID (
cat ~/.datree/config.yaml
):Additional context
Add any other context about the problem here.
If possible, include a YAML file to reproduce the bug.