Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for namespace_b (0.26 sec)

  1. pkg/test/framework/components/echo/common/deployment/namespace.go

    	namespaces, err := namespace.GetAll(t)
    	if err != nil {
    		return fmt.Errorf("failed retrieving list of namespaces: %v", err)
    	}
    
    	// Restrict egress from this namespace to only those endpoints in the same Echos.
    	cfg := t.ConfigIstio().New()
    	cfg.Eval(ns.Name(), map[string]any{
    		"Namespaces": namespaces,
    	}, `
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: restrict-to-namespace
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    }
    
    func (a *index) serviceEntryServiceBuilder(
    	Waypoints krt.Collection[Waypoint],
    	Namespaces krt.Collection[*v1.Namespace],
    ) krt.TransformationMulti[*networkingclient.ServiceEntry, model.ServiceInfo] {
    	return func(ctx krt.HandlerContext, s *networkingclient.ServiceEntry) []model.ServiceInfo {
    		waypoint := fetchWaypointForService(ctx, Waypoints, Namespaces, s.ObjectMeta)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher_test.go

    	pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer)
    
    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		constants.DataplaneModeLabel, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/conversion.go

    			serviceaccounts = append(serviceaccounts, kubeToIstioServiceAccount(ksa, svc.Namespace, mesh))
    		}
    	}
    	if svc.Annotations[annotation.NetworkingExportTo.Name] != "" {
    		namespaces := strings.Split(svc.Annotations[annotation.NetworkingExportTo.Name], ",")
    		exportTo = sets.NewWithLength[visibility.Instance](len(namespaces))
    		for _, ns := range namespaces {
    			exportTo.Insert(visibility.Instance(ns))
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint-no-network-label.yaml

        gateway.networking.k8s.io/gateway-name: namespace
        istio.io/gateway-name: namespace
        topology.istio.io/network: network-1
      name: namespace
      namespace: default
      ownerReferences:
      - apiVersion: gateway.networking.k8s.io/v1beta1
        kind: Gateway
        name: namespace
        uid: ""
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: namespace
      template:
        metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint.yaml

        gateway.networking.k8s.io/gateway-name: namespace
        istio.io/gateway-name: namespace
        topology.istio.io/network: network-1
      name: namespace
      namespace: default
      ownerReferences:
      - apiVersion: gateway.networking.k8s.io/v1beta1
        kind: Gateway
        name: namespace
        uid: ""
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: namespace
      template:
        metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. cni/pkg/repair/netns.go

    					return true, nil
    				}
    			}
    		}
    	}
    	return false, fmt.Errorf("no interface has the address %s", targetAddr)
    }
    
    // getPodNetNs finds the network namespace for a given pod. There is not a great way to do this. Network namespaces live
    // under the procfs, /proc/<pid>/ns/net. In majority of cases, this is not used directly, but is rather bind mounted to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. pkg/kube/krt/index.go

    	}
    	log.Errorf("< END DUMP (index %v[%T]", i.c.(internalCollection[I]).name(), ptr.TypeName[K]())
    }
    
    // NewNamespaceIndex is a small helper to index a collection by namespace
    func NewNamespaceIndex[I Namespacer](c Collection[I]) *Index[I, string] {
    	return NewIndex(c, func(o I) []string {
    		return []string{o.GetNamespace()}
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 04:53:45 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/files/gateway-injection-template.yaml

          value: "{{ .DeploymentMeta.Name }}"
        {{ end }}
        {{- if and .TypeMeta.APIVersion .DeploymentMeta.Name }}
        - name: ISTIO_META_OWNER
          value: kubernetes://apis/{{ .TypeMeta.APIVersion }}/namespaces/{{ valueOrDefault .DeploymentMeta.Namespace `default` }}/{{ toLower .TypeMeta.Kind}}s/{{ .DeploymentMeta.Name }}
        {{- end}}
        {{- if .Values.global.meshID }}
        - name: ISTIO_META_MESH_ID
          value: "{{ .Values.global.meshID }}"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.cni.injected

            - name: ISTIO_META_INTERCEPTION_MODE
              value: REDIRECT
            - name: ISTIO_META_WORKLOAD_NAME
              value: hello
            - name: ISTIO_META_OWNER
              value: kubernetes://apis/apps/v1/namespaces/default/deployments/hello
            - name: ISTIO_META_MESH_ID
              value: cluster.local
            - name: TRUST_DOMAIN
              value: cluster.local
            image: gcr.io/istio-testing/proxyv2:latest
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top