Checks
Controller Version
v0.12,v0.11,v0.9
Deployment Method
Helm
Checks
To Reproduce
Follow the upgrade instructions for any of the mentioned releases.
Describe the bug
Requiring CRD removal / reinstallation causes a very large overhead / headache for engineering teams using these runners. This is removing the entire CI/CD framework, so the only re-course is to manually resolve this by hand. With a large, distributed estate this takes a lot of time and effort.
Describe the expected behavior
Please follow best practice with regards to CRD management, specifically versioning https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/
Best practice summary:
- Never delete and reinstall a CRD in a production cluster. This leads to data loss.
- For non-breaking changes (like adding new optional fields), you can often update the schema of an existing version directly. Always test these changes.
- For any breaking changes, introduce a new version to the spec.versions list.
- Implement a Conversion Webhook to handle the translation of objects between different API versions on the fly.
Additional Context
Controller Logs
Runner Pod Logs
Checks
Controller Version
v0.12,v0.11,v0.9
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
Requiring CRD removal / reinstallation causes a very large overhead / headache for engineering teams using these runners. This is removing the entire CI/CD framework, so the only re-course is to manually resolve this by hand. With a large, distributed estate this takes a lot of time and effort.
Describe the expected behavior
Please follow best practice with regards to CRD management, specifically versioning https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/
Best practice summary:
Additional Context
N/AController Logs
Runner Pod Logs