Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ValidateGateway (0.51 sec)

  1. tests/fuzz/config_validation_fuzzer.go

    	switch numberOfTargets {
    	case 0:
    		in := &networking.Gateway{}
    		err = f.GenerateStruct(in)
    		if err != nil {
    			return 0
    		}
    		c.Spec = in
    		_, _ = validation.ValidateGateway(c)
    	case 1:
    		in := &networking.TrafficPolicy{}
    		err = f.GenerateStruct(in)
    		if err != nil {
    			return 0
    		}
    		c.Spec = in
    		_, _ = validation.ValidateDestinationRule(c)
    	case 2:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. pkg/config/schema/collections/collections.agent.gen.go

    		ProtoPackage: "istio.io/api/networking/v1alpha3", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    		ValidateProto: validation.ValidateGateway,
    	}.MustBuild()
    
    	MeshConfig = resource.Builder{
    		Identifier:    "MeshConfig",
    		Group:         "",
    		Kind:          "MeshConfig",
    		Plural:        "meshconfigs",
    		Version:       "v1alpha1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. pkg/config/schema/collections/collections.gen.go

    		ProtoPackage: "istio.io/api/networking/v1alpha3", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    		ValidateProto: validation.ValidateGateway,
    	}.MustBuild()
    
    	GatewayClass = resource.Builder{
    		Identifier: "GatewayClass",
    		Group:      "gateway.networking.k8s.io",
    		Kind:       "GatewayClass",
    		Plural:     "gatewayclasses",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    	if !path.IsAbs(addr) || strings.HasSuffix(addr, "/") {
    		return fmt.Errorf("%s is not an absolute path to a file", addr)
    	}
    	return nil
    }
    
    // ValidateGateway checks gateway specifications
    var ValidateGateway = RegisterValidateFunc("ValidateGateway",
    	func(cfg config.Config) (Warning, error) {
    		name := cfg.Name
    
    		// Check if this was converted from a k8s gateway-api resource
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  5. pkg/config/validation/validation_test.go

    					},
    				},
    			},
    			"partial wildcard \"*bar.com\" not allowed", "",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			warn, err := ValidateGateway(config.Config{
    				Meta: config.Meta{
    					Name:      someName,
    					Namespace: someNamespace,
    				},
    				Spec: tt.in,
    			})
    			checkValidationMessage(t, warn, err, tt.warning, tt.out)
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  6. operator/pkg/apis/istio/v1alpha1/values_types.proto

      string validationURL = 2;
    
      // For istioctl usage to disable istio config crds in base
      google.protobuf.BoolValue enableIstioConfigCRDs = 3;
    
      google.protobuf.BoolValue validateGateway = 4;
    
      // validation webhook CA bundle
      string validationCABundle = 5;
    }
    
    message IstiodRemoteConfig {
      // URL to use for sidecar injector webhook.
      string injectionURL = 1;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	EnableIstioConfigCRDs *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enableIstioConfigCRDs,proto3" json:"enableIstioConfigCRDs,omitempty"`
    	ValidateGateway       *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=validateGateway,proto3" json:"validateGateway,omitempty"`
    	// validation webhook CA bundle
    	ValidationCABundle string `protobuf:"bytes,5,opt,name=validationCABundle,proto3" json:"validationCABundle,omitempty"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    validation server; while technically # it works to have multiple redundant validations, this adds complexity and operational risks. # Users should consider enabling this if they want full gateway-api validation but don't have other validation servers. validateGateway: false istiodRemote: # Sidecar injector mutating webhook configuration url # For example: https://$remotePilotAddress:15017/inject injectionURL: "" # Revision is set as 'version' label and part of the resource names when installing multiple control...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
Back to top