Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ConfigKube (0.33 sec)

  1. pkg/config/analysis/analyzers/service/portname.go

    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/constants"
    	configKube "istio.io/istio/pkg/config/kube"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // PortNameAnalyzer checks the port name of the service
    type PortNameAnalyzer struct{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 15 14:45:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. pkg/test/framework/resource/context.go

    	// CreateTmpDirectory creates a new temporary directory within this context.
    	CreateTmpDirectory(prefix string) (string, error)
    
    	// ConfigKube returns a Context that writes config to the provided clusters. If
    	// no clusters are provided, writes to all clusters in the mesh.
    	ConfigKube(clusters ...cluster.Cluster) config.Factory
    
    	// ConfigIstio returns a Context that writes config to all Istio config clusters.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. tests/integration/pilot/mcs/common/common.go

    				continue
    			}
    
    			// Add/Update the CRD in this cluster...
    			if t.Settings().NoCleanup {
    				if err := t.ConfigKube(c).YAML("", crdYAML).Apply(apply.NoCleanup); err != nil {
    					return err
    				}
    			} else {
    				if err := t.ConfigKube(c).YAML("", crdYAML).Apply(); err != nil {
    					return err
    				}
    			}
    		}
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 27 17:09:00 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/util.go

    	defer func() {
    		e := ctx.ConfigKube(cluster).YAML("", dummyValidationVirtualService).Delete()
    		if e != nil {
    			scopes.Framework.Warnf("error deleting dummy virtual service for waiting the validation webhook: %v", e)
    		}
    	}()
    
    	scopes.Framework.Info("Creating dummy virtual service to check for validation webhook readiness")
    	return retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. tests/integration/pilot/workloadentry_test.go

    			}
    			cfg.ApplyOrFail(t)
    
    			// create a unique SE per cluster
    			for _, c := range t.Clusters().Configs() {
    				t.ConfigKube(c).YAML(apps.Namespace.Name(), fmt.Sprintf(seTmpl, c.Name())).ApplyOrFail(t)
    			}
    
    			weTmpl := `
    apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadEntry
    metadata:
      name: se-cross-network-{{.testName}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. pkg/test/framework/components/prometheus/kube.go

    func installPrometheus(ctx resource.Context, ns string) error {
    	yaml, err := getPrometheusYaml()
    	if err != nil {
    		return err
    	}
    	if err := ctx.ConfigKube().YAML(ns, yaml).Apply(apply.NoCleanup); err != nil {
    		return err
    	}
    	ctx.CleanupConditionally(func() {
    		_ = ctx.ConfigKube().YAML(ns, yaml).Delete()
    	})
    	return nil
    }
    
    func newKube(ctx resource.Context, cfgIn Config) (Instance, error) {
    	c := &kubeComponent{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/kube/deployment.go

    		return nil, fmt.Errorf("failed generating echo deployment YAML for %s/%s: %v",
    			cfg.Namespace.Name(),
    			cfg.Service, err)
    	}
    
    	// Apply the deployment to the configured cluster.
    	if err = ctx.ConfigKube(cfg.Cluster).
    		YAML(cfg.Namespace.Name(), deploymentYAML).
    		Apply(apply.NoCleanup); err != nil {
    		return nil, fmt.Errorf("failed deploying echo %s to cluster %s: %v",
    			cfg.ClusterLocalFQDN(), cfg.Cluster.Name(), err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. tests/integration/pilot/grpc_probe_test.go

    			if !t.Clusters().Default().MinKubeVersion(23) {
    				t.Skip("gRPC probe not supported")
    			}
    
    			ns := namespace.NewOrFail(t, t, namespace.Config{Prefix: "grpc-probe", Inject: true})
    			// apply strict mtls
    			t.ConfigKube(t.Clusters().Configs()...).YAML(ns.Name(), `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: grpc-probe-mtls
    spec:
      mtls:
        mode: STRICT`).ApplyOrFail(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istio/eastwest.go

    	}
    	out, err := tmpl.Evaluate(string(gwTmpl), map[string]string{"Revision": revision})
    	if err != nil {
    		return fmt.Errorf("failed running template %s: %v", exposeIstiodGatewayRev, err)
    	}
    	return i.ctx.ConfigKube(cluster).YAML(i.cfg.SystemNamespace, out).Apply()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. pkg/test/framework/components/jwt/kube.go

    		secretName, err := imageSpec.PullSecretName()
    		if err != nil {
    			return err
    		}
    		yamlText, err = addPullSecret(yamlText, secretName)
    		if err != nil {
    			return err
    		}
    	}
    
    	if err := ctx.ConfigKube(ctx.AllClusters()...).
    		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: Thu Sep 22 23:45:43 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top