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
Following #566, an operator upgrade that triggers changes to an existing CassandraDatacenter should result in a new RequiresUpdate condition to be set. This does not appear to work.
Reproduction steps
Install the operator in a local kind cluster:
kind create cluster
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml
make docker-build docker-logger-build
make docker-kind docker-logger-kind
make deploy
Commit the changes and redeploy the operator (same make commands as above).
I see the expected log message in the operator logs:
update is blocked, but statefulset needs an update. Marking datacenter as requiring update
The STS does not have the new label, which shows that the update was correctly blocked.
However, the CassandraDatacenter has the condition set to false. It seems that either the patch was not applied correctly (unlikely because I don't get any error logs), or it got overridden.
If I annotate the DC, the update is unblocked and the new label appears on the STS.
Following #566, an operator upgrade that triggers changes to an existing
CassandraDatacenter
should result in a newRequiresUpdate
condition to be set. This does not appear to work.Reproduction steps
Install the operator in a local kind cluster:
Create a DC:
Add a mock label to simulate an operator change:
Commit the changes and redeploy the operator (same
make
commands as above).I see the expected log message in the operator logs:
The STS does not have the new label, which shows that the update was correctly blocked.
However, the
CassandraDatacenter
has the condition set to false. It seems that either the patch was not applied correctly (unlikely because I don't get any error logs), or it got overridden.If I annotate the DC, the update is unblocked and the new label appears on the STS.
The text was updated successfully, but these errors were encountered: