- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for ca (0.14 sec)
-
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) -
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) -
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) -
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) -
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) -
istioctl/pkg/tag/generate_test.go
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) -
istioctl/pkg/writer/compare/sds/util.go
caDataSecret := secretTyped. GetValidationContext(). GetTrustedCa(). GetInlineBytes() // seems as though the most straightforward way to tell whether this is a root ca or not // is to check whether the inline bytes of the cert chain or the trusted ca field is zero length if len(certChainSecret) > 0 { builder.Data(string(certChainSecret)) } else if len(caDataSecret) > 0 { builder.Data(string(caDataSecret)) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
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) -
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) -
istioctl/pkg/util/configdump/secret.go
} secretDump := &admin.SecretsConfigDump{} err = secretDumpAny.UnmarshalTo(secretDump) if err != nil { return nil, err } return secretDump, nil } // GetRootCAFromSecretConfigDump retrieves root CA from a secret config dump wrapper func (w *Wrapper) GetRootCAFromSecretConfigDump(anySec *anypb.Any) (string, error) { var secret extapi.Secret if err := anySec.UnmarshalTo(&secret); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 25 04:09:53 GMT 2023 - 2.2K bytes - Viewed (0)