mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
+2
-2
@@ -33,7 +33,7 @@ import (
|
||||
clientset "github.com/fluxcd/flagger/pkg/client/clientset/versioned"
|
||||
)
|
||||
|
||||
// GlooRouter is managing Istio virtual services
|
||||
// GlooRouter is managing Gloo route tables
|
||||
type GlooRouter struct {
|
||||
kubeClient kubernetes.Interface
|
||||
glooClient clientset.Interface
|
||||
@@ -42,7 +42,7 @@ type GlooRouter struct {
|
||||
upstreamDiscoveryNs string
|
||||
}
|
||||
|
||||
// Reconcile creates or updates the Istio virtual service
|
||||
// Reconcile creates or updates the Gloo Edge route table
|
||||
func (gr *GlooRouter) Reconcile(canary *flaggerv1.Canary) error {
|
||||
apexName, _, _ := canary.GetServiceNames()
|
||||
canaryName := fmt.Sprintf("%s-%s-canary-%v", canary.Namespace, apexName, canary.Spec.Service.Port)
|
||||
|
||||
Reference in New Issue
Block a user