banzaicloud / istio-operator

An operator that manages Istio deployments on Kubernetes
Apache License 2.0
535 stars 94 forks source link

Fix clearing variable issue #840

Closed Laci21 closed 2 years ago

Laci21 commented 2 years ago
Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets
License Apache 2.0

Why?

After the UpdateStatus function was called the object variable was cleared out. This resulted in losing dynamically set values on the object, e.g. the jwtPolicy value.

Checklist