Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ca (0.15 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    		} else {
    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    				if i == 0 {
    					t = "Leaf"
    				} else if i == len(secret.CertChain)-1 {
    					t = "Root"
    				}
    				n := new(big.Int)
    				n, _ = n.SetString(ca.SerialNumber, 10)
    				fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%x\t%v\t%v\n",
    					secret.Identity, t, secret.State, certNotExpired(ca), n, valueOrNA(ca.ExpirationTime), valueOrNA(ca.ValidFrom))
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var fakeCACert = []byte("fake-CA-cert")
    
    var (
    	defaultYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata: {}
      template:
        serviceAccount: default
    `
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    func (c *ConfigWriter) PrintVersionSummary() error {
    	// TODO
    	return nil
    }
    
    // PrintPodRootCAFromDynamicSecretDump prints just pod's root ca from dynamic secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	// TODO
    	return "", nil
    }
    
    func (c *ConfigWriter) tabwriter() *tabwriter.Writer {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    )
    
    const (
    	// defaultExpirationSeconds is how long-lived a token to request (an hour)
    	defaultExpirationSeconds = 60 * 60
    )
    
    // Audience to create tokens for
    var tokenAudiences = []string{"istio-ca"}
    
    // GetXdsResponse opens a gRPC connection to opts.xds and waits for a single response
    func GetXdsResponse(dr *discovery.DiscoveryRequest, ns string, serviceAccount string, opts clioptions.CentralControlPlaneOptions,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. cni/pkg/install/kubeconfig_test.go

    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	testutils "istio.io/istio/pilot/test/util"
    )
    
    const (
    	k8sServiceHost = "10.96.0.1"
    	k8sServicePort = "443"
    	kubeCAFilepath = "testdata/kube-ca.crt"
    	saToken        = "service_account_token_string"
    )
    
    func TestCreateValidKubeconfigFile(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate_test.go

    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    			{
    				Name: fmt.Sprintf("object.%s", istioInjectionWebhookSuffix),
    				ClientConfig: admitv1.WebhookClientConfig{
    					Service: &admitv1.ServiceReference{
    						Namespace: "default",
    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    		},
    	}
    	samplePath               = "/sample/path"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/configdump.go

    	}
    	if len(envoyVersion) > 0 {
    		fmt.Fprintf(tw, "Envoy Version:\t%s\n", envoyVersion)
    	}
    
    	return tw.Flush()
    }
    
    // PrintPodRootCAFromDynamicSecretDump prints just pod's root ca from dynamic secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	if c.configDump == nil {
    		return "", fmt.Errorf("config writer has not been primed")
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. cni/pkg/config/config.go

    	// Logging level
    	LogLevel string
    	// Name of the kubeconfig file used by the CNI plugin
    	KubeconfigFilename string
    	// The file mode to set when creating the kubeconfig file
    	KubeconfigMode int
    	// CA file for kubeconfig
    	KubeCAFile string
    	// Whether to use insecure TLS in the kubeconfig file
    	SkipTLSVerify bool
    
    	// KUBERNETES_SERVICE_PROTOCOL
    	K8sServiceProtocol string
    	// KUBERNETES_SERVICE_HOST
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. cni/pkg/constants/constants.go

    	CNINetworkConfig     = "cni-network-config"
    	LogLevel             = "log-level"
    	KubeconfigFilename   = "kubecfg-file-name"
    	KubeconfigMode       = "kubeconfig-mode"
    	KubeCAFile           = "kube-ca-file"
    	SkipTLSVerify        = "skip-tls-verify"
    	MonitoringPort       = "monitoring-port"
    	LogUDSAddress        = "log-uds-address"
    	ZtunnelUDSAddress    = "ztunnel-uds-address"
    	CNIEventAddress      = "cni-event-address"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe_test.go

    						"istio-init"
    					],
    					"containers": [
    						"istio-proxy"
    					],
    					"volumes": [
    						"istio-envoy",
    						"istio-data",
    						"istio-podinfo",
    						"istio-token",
    						"istiod-ca-cert"
    					],
    					"imagePullSecrets": null,
    					"revision": "1-13-2"
    				}`,
    			},
    			expected: "1-13-2",
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run("", func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top