mirror of
https://github.com/fluxcd/flagger.git
synced 2026-03-05 19:21:23 +00:00
Enable Istio checks for SMI-Istio adapter
This commit is contained in:
@@ -598,7 +598,7 @@ func (c *Controller) analyseCanary(r *flaggerv1.Canary) bool {
|
||||
}
|
||||
|
||||
// Istio checks
|
||||
if c.meshProvider == "istio" {
|
||||
if strings.Contains(c.meshProvider, "istio") {
|
||||
if metric.Name == "request-success-rate" || metric.Name == "istio_requests_total" {
|
||||
val, err := c.observer.GetIstioSuccessRate(r.Spec.TargetRef.Name, r.Namespace, metric.Name, metric.Interval)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user