Closed sedkis closed 3 years ago
This is a bit tricky, I tried to investigate but eventually gave up. I verified there was no change on generated SecurityPolicy yet still k8s
thought otherwise.
I'm closing this issue - as we don't know why it's broken - and it doesn't have any negative impact. Feel free to open it again if it becomes a problem for any reason
I'm re-opening this issue - and bumping urgency. as it will likely be very heavy on the dashboard api - especially if we have lots of security policies.
{"level":"info","ts":1619350866.970371,"logger":"controllers.SecurityPolicy","msg":"Reconciling SecurityPolicy instance","SecurityPolicy":"default/httpbin.oauth2"}
{"level":"info","ts":1619350866.970464,"logger":"controllers.SecurityPolicy","msg":"updating access rights"}
{"level":"info","ts":1619350867.261389,"logger":"controllers.SecurityPolicy","msg":"Call","Method":"GET","URL":"http://9e0c0ef3c32d.ngrok.io/api/apis","Status":200}
{"level":"info","ts":1619350867.262351,"logger":"controllers.SecurityPolicy","msg":"All api's","Count":2}
{"level":"info","ts":1619350867.262423,"logger":"controllers.SecurityPolicy","msg":"Updating policy"}
{"level":"info","ts":1619350867.630778,"logger":"controllers.SecurityPolicy","msg":"Call","Method":"PUT","URL":"http://9e0c0ef3c32d.ngrok.io/api/portal/policies/608554f4d3626e17eb90badc","Status":200}
{"level":"info","ts":1619350867.630892,"logger":"controllers.SecurityPolicy","msg":"Updating linked api definitions"}
{"level":"info","ts":1619350867.66221,"logger":"controllers.SecurityPolicy","msg":"Successfully updated Policy"}
{"level":"info","ts":1619350867.69104,"logger":"controllers.SecurityPolicy","msg":"Completed reconciling SecurityPolicy instance"}
{"level":"info","ts":1619350867.691286,"logger":"controllers.SecurityPolicy","msg":"Reconciling SecurityPolicy instance","SecurityPolicy":"default/httpbin.oauth2"}
{"level":"info","ts":1619350867.691336,"logger":"controllers.SecurityPolicy","msg":"updating access rights"}
{"level":"info","ts":1619350867.939923,"logger":"controllers.SecurityPolicy","msg":"Call","Method":"GET","URL":"http://9e0c0ef3c32d.ngrok.io/api/apis","Status":200}
{"level":"info","ts":1619350867.941484,"logger":"controllers.SecurityPolicy","msg":"All api's","Count":2}
{"level":"info","ts":1619350867.9415522,"logger":"controllers.SecurityPolicy","msg":"Updating policy"}
{"level":"info","ts":1619350868.319173,"logger":"controllers.SecurityPolicy","msg":"Call","Method":"PUT","URL":"http://9e0c0ef3c32d.ngrok.io/api/portal/policies/608554f4d3626e17eb90badc","Status":200}
{"level":"info","ts":1619350868.319276,"logger":"controllers.SecurityPolicy","msg":"Updating linked api definitions"}
{"level":"info","ts":1619350868.3595679,"logger":"controllers.SecurityPolicy","msg":"Successfully updated Policy"}
{"level":"info","ts":1619350868.359769,"logger":"controllers.SecurityPolicy","msg":"Completed reconciling SecurityPolicy instance"}
Applying a SecurityPolicy resource, even without changes, results in a reconcile loop each time.
Version Operator :
v0.4.1
Tyk Operator logs each time the
apply
happens: