Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,009 for matchLabels (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels_test.go

    			labelKey:   "foo4",
    			labelValue: "12",
    			want: map[string]string{
    				"foo4": "12",
    			},
    		},
    	}
    
    	for _, tc := range cases {
    		ls_in := LabelSelector{MatchLabels: tc.labels, MatchExpressions: matchExpressions}
    		ls_out := LabelSelector{MatchLabels: tc.want, MatchExpressions: matchExpressions}
    
    		got := CloneSelectorAndAddLabel(&ls_in, tc.labelKey, tc.labelValue)
    		if !reflect.DeepEqual(got, &ls_out) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 11:09:05 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager_test.go

    	tests := []testArgs{
    		{
    			fieldManager: "kubectl",
    			lastApplied: []byte(`
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 3
      selector:
        matchLabels:
          app: my-app
      template:
        metadata:
          labels:
            app: my-app
        spec:
          containers:
          - name: my-c
            image: my-image-v1
          - name: my-c2
            image: my-image2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 20K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/image-auto.yaml

        name: namespace.sidecar-injector.istio.io
        namespaceSelector:
          matchLabels:
            istio-injection: enabled
      - admissionReviewVersions:
          - v1beta1
        clientConfig:
          service:
            name: fake
            namespace: istio-system
        name: object.sidecar-injector.istio.io
        objectSelector:
          matchLabels:
            sidecar.istio.io/inject: "true"
    ---
    # Should produce error!
    apiVersion: v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/authentication_test.go

    	selector := &selectorpb.WorkloadSelector{
    		MatchLabels: map[string]string{
    			"app":     "httpbin",
    			"version": "v1",
    		},
    	}
    	configs = append(configs, createTestRequestAuthenticationResource("default", rootNamespace, nil, nil),
    		createTestRequestAuthenticationResource("global-with-selector", rootNamespace, &selectorpb.WorkloadSelector{
    			MatchLabels: map[string]string{
    				"app": "httpbin",
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  5. pilot/pkg/security/authz/builder/testdata/tcp/custom-only-http-in.yaml

        name: default
      selector:
        matchLabels:
          app: httpbin
          version: v1
      rules:
        - to:
            - operation:
                paths: ["/httpbin1"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-2
      namespace: foo
    spec:
      action: CUSTOM
      provider:
        name: default
      selector:
        matchLabels:
          app: httpbin
          version: v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 606 bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/builder/testdata/http/multiple-policies-in.yaml

    metadata:
      name: httpbin-1
      namespace: foo
    spec:
      selector:
        matchLabels:
          app: httpbin
          version: v1
      rules:
      - to:
        - operation:
            methods: ["GET", "POST"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-2
      namespace: foo
    spec:
      selector:
        matchLabels:
          app: httpbin
      rules:
        - to:
          - operation:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. tests/integration/security/testdata/authz/path-precedence.yaml.tmpl

    # The following policy denies access to path /allow/admin.
    
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: policy-{{ .To.ServiceName }}-deny
    spec:
      selector:
        matchLabels:
          "app": "{{ .To.ServiceName }}"
      action: DENY
      rules:
        - to:
            - operation:
                paths: ["/allow/admin"]
    ---
    # The following policy allows access to path with prefix /allow.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 689 bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/builder/testdata/http/custom-simple-http-in.yaml

        name: default
      selector:
        matchLabels:
          app: httpbin
          version: v1
      rules:
        - to:
            - operation:
                paths: ["/httpbin1"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-2
      namespace: foo
    spec:
      action: CUSTOM
      provider:
        name: default
      selector:
        matchLabels:
          app: httpbin
          version: v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 606 bytes
    - Viewed (0)
  9. samples/bookinfo/platform/kube/bookinfo-psa.yaml

      labels:
        account: details
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: details-v1
      labels:
        app: details
        version: v1
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. samples/bookinfo/platform/kube/bookinfo.yaml

      labels:
        account: details
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: details-v1
      labels:
        app: details
        version: v1
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top