Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for ConfigKube (0.25 sec)

  1. tests/integration/pilot/common/traffic.go

    					}
    				}
    				cfg := yml.MustApplyNamespace(t, tmpl.MustEvaluate(c.config, tmplData), namespace)
    				// we only apply to config clusters
    				scope := t.ConfigIstio()
    				if c.globalConfig {
    					scope = t.ConfigKube()
    				}
    				return scope.YAML("", cfg).Apply()
    			}).
    			FromMatch(match.And(c.sourceMatchers...)).
    			// TODO mainly testing proxyless features as a client for now
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. pkg/test/framework/components/opentelemetry/kube.go

    	if err != nil {
    		return "", err
    	}
    	return string(b), nil
    }
    
    func install(ctx resource.Context, ns string) error {
    	y, err := getYaml()
    	if err != nil {
    		return err
    	}
    	return ctx.ConfigKube().YAML(ns, y).Apply()
    }
    
    func installServiceEntry(ctx resource.Context, ns, ingressAddr string) error {
    	// Setup remote access to zipkin in cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/installer.go

    }
    
    func (i *installer) Close(c cluster.Cluster) error {
    	i.mu.Lock()
    	manifests := i.manifests[c.Name()]
    	delete(i.manifests, c.Name())
    	i.mu.Unlock()
    
    	if len(manifests) > 0 {
    		return i.ctx.ConfigKube(c).YAML("", removeCRDsSlice(manifests)).Delete()
    	}
    	return nil
    }
    
    func (i *installer) Dump(resource.Context) {
    	manifestsDir := path.Join(i.workDir, "manifests")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. pkg/test/framework/components/registryredirector/kube.go

    	args := map[string]any{}
    
    	if len(cfg.TargetRegistry) != 0 {
    		args["TargetRegistry"] = cfg.TargetRegistry
    	}
    
    	if len(cfg.Image) != 0 {
    		args["Image"] = cfg.Image
    	}
    
    	// apply YAML
    	if err := ctx.ConfigKube(c.cluster).EvalFile(c.ns.Name(), args, env.RegistryRedirectorServerInstallFilePath).Apply(apply.CleanupConditionally); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 00:53:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. tests/integration/pilot/multicluster_test.go

    				var secret string
    				retry.UntilSuccessOrFail(t, func() error {
    					var err error
    					secret, err = i.CreateRemoteSecret(t, remote, opts...)
    					return err
    				}, retry.Timeout(15*time.Second))
    
    				t.ConfigKube().YAML(ns, secret).ApplyOrFail(t)
    			}
    			// Test exec auth
    			// CreateRemoteSecret can never generate this, so create it manually
    			t.ConfigIstio().YAML(ns, `apiVersion: v1
    kind: Secret
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pkg/test/framework/suitecontext.go

    			c.settings.RunID, prefix, c.workDir, err)
    	} else {
    		scopes.Framework.Debugf("Created a temp dir: runID='%s', Name='%s'", c.settings.RunID, dir)
    	}
    
    	return dir, err
    }
    
    func (c *suiteContext) ConfigKube(clusters ...cluster.Cluster) config.Factory {
    	return newConfigFactory(c, clusters)
    }
    
    func (c *suiteContext) ConfigIstio() config.Factory {
    	return newConfigFactory(c, c.Clusters().Configs())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. pkg/test/framework/components/authz/kube.go

    	return mergedYaml, nil
    }
    
    func (s *serverImpl) deploy(ctx resource.Context) error {
    	yamlText, err := readDeploymentYAML(ctx)
    	if err != nil {
    		return err
    	}
    
    	if err := ctx.ConfigKube(ctx.Clusters()...).
    		YAML(s.ns.Name(), yamlText).
    		Apply(apply.CleanupConditionally); err != nil {
    		return err
    	}
    
    	// Wait for the endpoints to be ready.
    	var g multierror.Group
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. pkg/test/framework/components/zipkin/kube.go

    	}
    	yaml := string(yamlBytes)
    	return yaml, nil
    }
    
    func installZipkin(ctx resource.Context, ns string) error {
    	yaml, err := getZipkinYaml()
    	if err != nil {
    		return err
    	}
    	return ctx.ConfigKube().YAML(ns, yaml).Apply()
    }
    
    func installServiceEntry(ctx resource.Context, ns, ingressAddr string) error {
    	// Setup remote access to zipkin in cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. tests/integration/ambient/waypoint_test.go

          responseHeaderModifier:
            add:
            - name: traversed-waypoint
              value: {{.Service}}-gateway
        backendRefs:
        - name: {{.Service}}
          port: {{.Port}}
          `
    
    			t.ConfigKube().
    				New().
    				Eval(
    					apps.Namespace.Name(),
    					map[string]any{
    						"Service":   Captured,
    						"Namespace": apps.Namespace.Name(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tests/integration/telemetry/api/dashboard_test.go

    				ApplyOrFail(t)
    
    			// Apply just the grafana dashboards
    			cfg, err := os.ReadFile(filepath.Join(env.IstioSrc, "samples/addons/grafana.yaml"))
    			if err != nil {
    				t.Fatal(err)
    			}
    			t.ConfigKube().YAML("istio-system", yml.SplitYamlByKind(string(cfg))["ConfigMap"]).ApplyOrFail(t)
    
    			// We will send a bunch of requests until the test exits. This ensures we are continuously
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top