Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for systemNamespaces (0.36 sec)

  1. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go

    	client kubernetes.Interface
    
    	namespaceLister listers.NamespaceLister
    	namespaceSynced cache.InformerSynced
    
    	systemNamespaces []string
    	interval         time.Duration
    }
    
    // NewController creates a new Controller to ensure system namespaces exist.
    func NewController(systemNamespaces []string, clientset kubernetes.Interface, namespaceInformer coreinformers.NamespaceInformer) *Controller {
    	interval := 1 * time.Minute
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller_test.go

    			for _, obj := range objs {
    				namespaceInformer.Informer().GetIndexer().Add(obj)
    			}
    
    			systemNamespaces := []string{metav1.NamespaceSystem, metav1.NamespacePublic, v1.NamespaceNodeLease, metav1.NamespaceDefault}
    			controller := NewController(systemNamespaces, clientset, namespaceInformer)
    
    			clientset.PrependReactor("create", "namespaces", func(action k8stesting.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/options/options.go

    				},
    				HTTPTimeout: time.Duration(5) * time.Second,
    			},
    			ServiceNodePortRange: kubeoptions.DefaultServiceNodePortRange,
    			MasterCount:          1,
    		},
    	}
    
    	s.Options.SystemNamespaces = append(s.Options.SystemNamespaces, v1.NamespaceNodeLease)
    
    	return &s
    }
    
    // Flags returns flags for a specific APIServer by section name
    func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. pkg/test/cert/ca/intermediate.go

    subjectAltName=@san
    [ san ]
    DNS.1 = istiod.{{ .SystemNamespace }}
    DNS.2 = istiod.{{ .SystemNamespace }}.svc
    DNS.3 = istio-pilot.{{ .SystemNamespace }}
    DNS.4 = istio-pilot.{{ .SystemNamespace }}.svc
    [ req_dn ]
    O = Istio
    CN = Intermediate CA
    `
    )
    
    // NewIstioConfig creates an extensions configuration for Istio, using the given system namespace in
    // the DNS SANs.
    func NewIstioConfig(systemNamespace string) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/eastwest.go

    		"tag=" + s.Image.Tag,
    		"values.global.imagePullPolicy=" + s.Image.PullPolicy,
    		"values.gateways.istio-ingressgateway.autoscaleEnabled=false",
    	}
    
    	if i.cfg.SystemNamespace != "istio-system" {
    		setArgs = append(setArgs, "values.global.istioNamespace="+i.cfg.SystemNamespace)
    	}
    
    	// Include all user-specified values.
    	for k, v := range i.cfg.Values {
    		setArgs = append(setArgs, fmt.Sprintf("values.%s=%s", k, v))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. tests/integration/security/testdata/authz/egress-gateway.yaml.tmpl

    apiVersion: networking.istio.io/v1beta1
    kind: DestinationRule
    metadata:
      name: test-egress
      namespace: {{ .SystemNamespace.Name }}
    spec:
      host: "{{ .EgressGatewayServiceName | default "istio-egressgateway" }}.{{ .EgressGatewayServiceNamespace | default .SystemNamespace.Name }}.svc.cluster.local"
      trafficPolicy:
        portLevelSettings:
          - port:
              number: 443
            tls:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 31 15:08:52 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/config/param/wellknown.go

    	// Namespace is the template parameter used for injecting the target namespace.Instance of the applied config.
    	Namespace WellKnown = "Namespace"
    
    	// SystemNamespace is the template parameter used for injecting the namespace.Instance of the Istio system.
    	SystemNamespace WellKnown = "SystemNamespace"
    )
    
    func (p WellKnown) String() string {
    	return string(p)
    }
    
    type WellKnownList []WellKnown
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 20 21:58:21 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. pilot/pkg/xds/debuggen.go

    		header:      make(map[string]string),
    		body:        new(bytes.Buffer),
    		wroteHeader: false,
    	}
    }
    
    func NewDebugGen(s *DiscoveryServer, systemNamespace string, debugMux *http.ServeMux) *DebugGen {
    	return &DebugGen{
    		Server:          s,
    		SystemNamespace: systemNamespace,
    		DebugMux:        debugMux,
    	}
    }
    
    // Generate XDS debug responses according to the incoming debug request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 18:51:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/config/builder.go

    					param.Namespace.String():       to.Config().Namespace,
    					param.SystemNamespace.String(): systemNS,
    				}))
    			}
    		}
    	}
    
    	for _, to := range toAll {
    		for _, s := range out.needTo {
    			out.addYAML(withParams(s, param.Params{
    				param.To.String():              to,
    				param.Namespace.String():       to.Config().Namespace,
    				param.SystemNamespace.String(): systemNS,
    			}))
    		}
    	}
    
    	return out
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/fake.go

    		MeshWatcher:           opts.MeshWatcher,
    		ClusterID:             opts.ClusterID,
    		MeshServiceController: meshServiceController,
    		ConfigCluster:         opts.ConfigCluster,
    		SystemNamespace:       opts.SystemNamespace,
    	}
    	c := NewController(opts.Client, options)
    	meshServiceController.AddRegistry(c)
    
    	if opts.ServiceHandler != nil {
    		c.AppendServiceHandler(opts.ServiceHandler)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top