Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,984 for nAmespace (0.28 sec)

  1. pilot/pkg/config/kube/gateway/model.go

    func (refs AllowedReferences) SecretAllowed(resourceName string, namespace string) bool {
    	p, err := creds.ParseResourceName(resourceName, "", "", "")
    	if err != nil {
    		log.Warnf("failed to parse resource name %q: %v", resourceName, err)
    		return false
    	}
    	from := Reference{Kind: gvk.KubernetesGateway, Namespace: k8s.Namespace(namespace)}
    	to := Reference{Kind: gvk.Secret, Namespace: k8s.Namespace(p.Namespace)}
    	allow := refs[from][to]
    	if allow == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:09 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go

    	ns := o.Namespace
    	if ns == "" {
    		// For Namespace object, it will not have o.Namespace field set
    		ns = o.Name
    	}
    
    	meta := metav1.ObjectMeta{
    		Name:      CACertNamespaceConfigMap,
    		Namespace: ns,
    		Labels:    configMapLabel,
    	}
    	return k8s.InsertDataToConfigMap(nc.configmaps, meta, nc.caBundleWatcher.GetCABundle())
    }
    
    // On namespace change, update the config map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tests/integration/security/policy_attachment_only/main_test.go

    `
    			}
    		})).
    		// Create namespaces first. This way, echo can correctly configure egress to all namespaces.
    		SetupParallel(
    			namespace.Setup(&echo1NS, namespace.Config{Prefix: "echo1", Inject: true}),
    			namespace.Setup(&serverNS, namespace.Config{Prefix: "servers", Inject: true}),
    		).
    		SetupParallel(
    			jwt.Setup(&jwtServer, namespace.Future(&serverNS)),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. pkg/config/schema/kubeclient/resources.gen.go

    	case *apiistioioapinetworkingv1alpha3.DestinationRule:
    		return c.Istio().NetworkingV1alpha3().DestinationRules(namespace).(ktypes.WriteAPI[T])
    	case *k8sioapidiscoveryv1.EndpointSlice:
    		return c.Kube().DiscoveryV1().EndpointSlices(namespace).(ktypes.WriteAPI[T])
    	case *k8sioapicorev1.Endpoints:
    		return c.Kube().CoreV1().Endpoints(namespace).(ktypes.WriteAPI[T])
    	case *apiistioioapinetworkingv1alpha3.EnvoyFilter:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/NamespaceId.java

            return namespace;
        }
    
        /**
         * Sets the namespace for this identifier.
         *
         * @param namespace the namespace
         */
        public void setNamespace(String namespace) {
            this.namespace = namespace;
        }
    
        /**
         * Gets the name for this identifier.
         *
         * @return the name for this identifier
         */
        public String getName() {
            return name;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. pilot/pkg/model/authorization.go

    	Name        string                      `json:"name"`
    	Namespace   string                      `json:"namespace"`
    	Annotations map[string]string           `json:"annotations"`
    	Spec        *authpb.AuthorizationPolicy `json:"spec"`
    }
    
    func (ap *AuthorizationPolicy) NamespacedName() types.NamespacedName {
    	return types.NamespacedName{Name: ap.Name, Namespace: ap.Namespace}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go

    	if _, err := coreClient.Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{}); apierrors.IsNotFound(err) {
    		if _, err = coreClient.Namespaces().Create(context.TODO(), &v1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: namespace}}, metav1.CreateOptions{}); err != nil && !apierrors.IsAlreadyExists(err) {
    			klog.Warningf("create non-exist namespace %s failed:%v", namespace, err)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/testdata/reference-policy-service.yaml

    metadata:
      name: allow-service
      namespace: service
    spec:
      from:
      - group: gateway.networking.k8s.io
        kind: HTTPRoute
        namespace: istio-system
      to:
      - group: ""
        kind: Service
        name: my-svc
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: istio-system
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/testdata/reference-policy-tcp.yaml

        kind: HTTPRoute
        namespace: istio-system
      to:
      - group: ""
        kind: Service
        name: echo
    ---
    apiVersion: gateway.networking.k8s.io/v1alpha2
    kind: TCPRoute
    metadata:
      name: allowed-my-svc
      namespace: istio-system
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
        sectionName: my-svc
      rules:
      - backendRefs:
        - name: my-svc
          namespace: service
          port: 34000
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. pkg/kube/namespace/filter.go

    	lock                sync.RWMutex
    	namespaces          kclient.Client[*corev1.Namespace]
    	discoveryNamespaces sets.String
    	discoverySelectors  []labels.Selector // nil if discovery selectors are not specified, permits all namespaces for discovery
    	handlers            []func(added, removed sets.String)
    }
    
    func NewDiscoveryNamespacesFilter(
    	namespaces kclient.Client[*corev1.Namespace],
    	mesh mesh.Watcher,
    	stop <-chan struct{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top