Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for validator (0.17 sec)

  1. istioctl/pkg/validate/validate.go

      # Validate all yaml files under samples/bookinfo/networking directory
      istioctl validate -f samples/bookinfo/networking
    
      # Validate current deployments under 'default' namespace within the cluster
      kubectl get deployments -o yaml | istioctl validate -f -
    
      # Validate current services under 'default' namespace within the cluster
      kubectl get services -o yaml | istioctl validate -f -
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. manifests/charts/istiod-remote/templates/default.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: ValidatingWebhookConfiguration
    metadata:
      name: istiod-default-validator
      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.defaultRevision | quote }}
    webhooks:
      - name: validation.istio.io
        clientConfig:
          {{- if .Values.base.validationURL }}
          url: {{ .Values.base.validationURL }}
          {{- else }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_redirect.go

    }
    
    type annotationValidationFunc func(value string) error
    
    type annotationParam struct {
    	key        string
    	defaultVal string
    	validator  annotationValidationFunc
    }
    
    func alwaysValidFunc(value string) error {
    	return nil
    }
    
    // validateInterceptionMode validates the interceptionMode annotation
    func validateInterceptionMode(mode string) error {
    	switch mode {
    	case redirectModeREDIRECT:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate_test.go

    					if validationWhConf.Service == nil {
    						t.Fatalf("expected validation service %s, got nil", tc.whSVC)
    					}
    					if validationWhConf.Service.Name != tc.whSVC {
    						t.Fatalf("expected validation service %s, got %s", tc.whSVC, validationWhConf.Service.Name)
    					}
    					if validationWhConf.Service.Namespace != tc.istioNamespace {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  5. manifests/charts/default/templates/validatingwebhook.yaml

    kind: ValidatingWebhookConfiguration
    metadata:
      name: istiod-default-validator
      labels:
        app: istiod
        istio: istiod
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
        istio.io/tag: "default"
        # Required to make sure this resource is removed
        # when purging Istio resources
        operator.istio.io/component: Pilot
    webhooks:
      - name: validation.istio.io
        clientConfig:
          {{- if .Values.base.validationURL }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. manifests/charts/base/templates/default.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: ValidatingWebhookConfiguration
    metadata:
      name: istiod-default-validator
      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.defaultRevision | quote }}
    webhooks:
      - name: validation.istio.io
        clientConfig:
          {{- if .Values.base.validationURL }}
          url: {{ .Values.base.validationURL }}
          {{- else }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/validatingwebhookconfiguration.yaml

    kind: ValidatingWebhookConfiguration
    metadata:
      name: istio-validator{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}-{{ .Values.global.istioNamespace }}
      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
    webhooks:
      # Webhook handling per-revision validation. Mostly here so we can determine whether webhooks
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/pkg/cli/kubectl_factory.go

    func (f Factory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) {
    	return f.full.UnstructuredClientForMapping(mapping)
    }
    
    func (f Factory) Validator(validationDirective string) (validation.Schema, error) {
    	return f.full.Validator(validationDirective)
    }
    
    func (f Factory) OpenAPISchema() (openapi.Resources, error) {
    	return f.full.OpenAPISchema()
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate_test.go

    			defer func() { recover() }()
    			v := &validator{}
    			var writer io.Writer
    			warn, err := v.validateResource("istio-system", "", fromYAML(c.in), writer)
    			if (err == nil) != c.valid {
    				tt.Fatalf("unexpected validation result: got %v want %v: err=%v", err == nil, c.valid, err)
    			}
    			if (warn != nil) != c.warn {
    				tt.Fatalf("unexpected validation warning result: got %v want %v: warn=%v", warn != nil, c.warn, warn)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  10. manifests/charts/istiod-remote/templates/validatingwebhookconfiguration.yaml

    kind: ValidatingWebhookConfiguration
    metadata:
      name: istio-validator{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}-{{ .Values.global.istioNamespace }}
      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
    webhooks:
      # Webhook handling per-revision validation. Mostly here so we can determine whether webhooks
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top