Closed Routhinator closed 4 years ago
Sorry for the delay, this looks good, thanks. I haven't run into the issue you're describing but I know DO is weird in many ways about PVCs.
I'm not sure how this works, because I'm getting the following on Kubernetes 1.18:
error validating data: ValidationError(Deployment.spec): unknown field "updateStrategy" in io.k8s.api.apps.v1.DeploymentSpec
@mnaser there is already a PR and an Issue opened for this on 1.17+ - original change was tested on 1.16 which did not complain about the key error, even though it ignored it. See #37
Add updateStrategy to ensure kubernetes knows it needs to unschedule the orginal deployment in order to release the ReadWriteOnce PVC on the bridges. Deployments in the chart currently fail when a bridge is in use because the old deployment is never stopped and the new deployment can never mount the ReadWriteOnce PVCs.
Fixes #34