Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewIstioConfig (0.16 sec)

  1. pkg/test/cert/ca/intermediate.go

    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) {
    	return tmpl.Evaluate(istioConfTemplate, map[string]any{
    		"SystemNamespace": systemNamespace,
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. pkg/test/csrctrl/signer/ca_provider.go

    		}
    	}
    	caLoader, err := ca.NewRoot(strRoot)
    	if err != nil {
    		return nil, fmt.Errorf("error reading CA cert file %s: %v", strRoot, err)
    	}
    	// Create the new extensions config for the CA
    	caConfig, err := ca.NewIstioConfig("istio-system")
    	if err != nil {
    		return nil, err
    	}
    	intermediateCA, err := ca.NewIntermediate(strRoot, caConfig, caLoader)
    	if err != nil {
    		return nil, err
    	}
    	ret := &caProvider{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 08:14:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/kube.go

    		clusterDir := filepath.Join(certsDir, c.Name())
    		if err := os.Mkdir(clusterDir, 0o700); err != nil {
    			return err
    		}
    
    		// Create the new extensions config for the CA
    		caConfig, err := ca.NewIstioConfig(i.cfg.SystemNamespace)
    		if err != nil {
    			return err
    		}
    
    		// Create the certs for the cluster.
    		clusterCA, err := ca.NewIntermediate(clusterDir, caConfig, root)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top