You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to apply resource requests/limits to a rollout the apply succeeds, but the resulting object in the API service has resources set as an empty object.
Anderson Silva in the Slack channel found this was related to the CRD for Rollouts defining the resources just as an object without any elements. By patching the additional elements the CRD would work.
Summary
When trying to apply resource requests/limits to a rollout the apply succeeds, but the resulting object in the API service has resources set as an empty object.
Anderson Silva in the Slack channel found this was related to the CRD for Rollouts defining the
resources
just as an object without any elements. By patching the additional elements the CRD would work.This seems like a regression caused by #480 and I think it is caused by field pruning: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#controlling-pruning
Steps to reproduce
kubectl get rollout -o yaml borker
Expected Results
Returned yaml should have:
Actual Results
Resources are:
Diagnostics
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: