Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,639 for AsSelector (0.2 sec)

  1. pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml

    kind: Telemetry
    metadata:
      name: dupe-1
      namespace: default
    spec:
      selector:
        matchLabels:
          app: reviews # Multiple telemetries have the same selector, should generate errors for both
      metrics:
        - providers:
            - name: prometheus
          overrides:
            - match:
                metric: ALL_METRICS
              disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/k8sgateway-selector.yaml

    spec:
      containers:
      - image: proxyv2:1.3.1
        name: istio-proxy
    ---
    # only selector is set, should be ineffective
    apiVersion: security.istio.io/v1
    kind: RequestAuthentication
    metadata:
      namespace: default
      name: ra-ineffective
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: bookinfo-gateway
    ---
    # only selector is set, should be ineffective
    apiVersion: security.istio.io/v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 01:19:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/telemetry-default-selector.yaml

    kind: Telemetry
    metadata:
      name: no-selector # Since this is the only Telemetry in the namespace without a selector, no conflict
      namespace: ns1
    spec:
      metrics:
      - providers:
        - name: prometheus
        overrides:
        - match:
            metric: ALL_METRICS
          disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: has-selector
      namespace: ns1
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/sidecar-default-selector.yaml

    kind: Sidecar
    metadata:
      name: no-selector # Since this is the only Sidecar in the namespace without a workload selector, no conflict
      namespace: ns1
    spec:
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: has-selector
      namespace: ns1
    spec:
      workloadSelector: # Since this has a workload selector, it shouldn't conflict with the other Sidecar in the namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 23 13:38:38 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		if !ok {
    			return nil, nil, fmt.Errorf("invalid object")
    		}
    		return labels.Set(pod.Labels), nil, nil
    	}
    	predicate := storage.SelectionPredicate{
    		Label:    labels.Set{"even": "true"}.AsSelector(),
    		GetAttrs: getAttrs,
    		Limit:    4,
    	}
    
    	result1 := example.PodList{}
    	options := storage.ListOptions{
    		Predicate: predicate,
    		Recursive: true,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  6. hack/testdata/filter/pod-apply-selector.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: selector-test-pod
      labels:
        name: selector-test-pod
        unique-label: bingbang
    spec:
      containers:
      - name: kubernetes-pause
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 211 bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/deployment-service-no-selector.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: svc-no-selector
      namespace: default
    spec:
      ports:
        - name: https
          port: 443
          protocol: TCP
          targetPort: 6443
    ---
    # this deployment is not associated with any service, so it should generate a warning
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: helloworld-v2
      namespace: default
      labels:
        app: helloworld
        version: v2
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 03:43:16 UTC 2023
    - 894 bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation.go

    	}
    	return allErrs
    }
    
    // Validates that the given selector is non-empty.
    func ValidateNonEmptySelector(selectorMap map[string]string, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	selector := labels.Set(selectorMap).AsSelector()
    	if selector.Empty() {
    		allErrs = append(allErrs, field.Required(fldPath, ""))
    	}
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  9. releasenotes/notes/wasm-traffic-selector.yaml

    Ingwon Song <******@****.***> 1663354276 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 16 18:51:16 UTC 2022
    - 269 bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/destinationrule-simple-destination-credentialname-selector.yaml

    Leonardo Sarra <******@****.***> 1718349751 +0200
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 271 bytes
    - Viewed (0)
Back to top