Manually setting shard
in cluster by patching secret
with incorrect value leads to cluster to be unmanaged
#13226
Labels
shard
in cluster by patching secret
with incorrect value leads to cluster to be unmanaged
#13226
argocd version
.Describe the bug
Manually setting
shard
in cluster by patchingsecret
with incorrect value leads to cluster to be unmanaged.If the manually set shard is greater than the number of replicas, then the cluster is assigned to a non existant shard and thus it is ignored by all the shards and it become unamaged de-facto.
To Reproduce
stringData: { shard: 25 }
Expected behavior
The application controller should issue a warning and assign the cluster to a default placement as if the manually set shard was not set.
Screenshots
Version
Paste any relevant application logs here.
The text was updated successfully, but these errors were encountered: