Upgrading a Composition¶
- Make changes in the CDK8s source.
- Run tests and validation:
make test
make synth
make validate
- Apply the new Composition:
kubectl apply -f packages/<product>/dist/composition.k8s.yaml
- Verify existing XRs reconcile:
kubectl get <xr-kind> -w
- Rollback if needed:
kubectl apply -f packages/<product>/dist/composition.k8s.yaml # previous version