NAuth only validates the status fields as a first step to avoid that the operator calls NATS often. Any changes that are not done by NAuth will therefore be missed by the operator.
NAuth should validate the jwt of the server during reconciliation.
Workaround to trigger accounts to be re-applied is to set some configuration on all the accounts to make them re-apply. (not a good production scenario...)
kubectl get accounts.nauth.io --all-namespaces -o custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name --no-headers | while read -r namespace name; do
kubectl patch accounts.nauth.io "$name" --namespace "$namespace" --type='merge' -p '{"spec":{"accountLimits":{"conn":101}}}'
done
updated