- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for secrets (6.42 sec)
-
istioctl/pkg/writer/ztunnel/configdump/certificates.go
for _, secret := range secretDump { if strings.Contains(secret.State, "Unavailable") { secret.State = "Unavailable" } if len(secret.CertChain) == 0 { fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n", secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA("")) } else { for i, ca := range secret.CertChain { t := "Intermediate" if i == 0 {
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
Data: map[string]string{ "mesh": string(util.ReadFile(t, path.Join(testdir, "meshconfig.yaml"))), }, }, metav1.CreateOptions{}) client.Kube().CoreV1().Secrets("bar").Create(context.Background(), &v1.Secret{ ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "test"}, Data: map[string][]byte{ "token": {}, }, }, metav1.CreateOptions{}) }
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) -
cmd/common-main.go
return nil, err } return ekvs, nil } func readFromSecret(sp string) (string, error) { // Supports reading path from docker secrets, filename is // relative to /run/secrets/ position. if isFile(pathJoin("/run/secrets/", sp)) { sp = pathJoin("/run/secrets/", sp) } credBuf, err := os.ReadFile(sp) if err != nil { if os.IsNotExist(err) { // ignore if file doesn't exist. return "", nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 35.8K bytes - Viewed (2) -
cmd/admin-handlers-config-kv.go
// 2. `subsys:` -> request for config of a single subsystem and the default target. // 3. `subsys` -> request for config of all targets for the given subsystem. // // This is a reporting API and config secrets are redacted in the response. func (a adminAPIHandlers) GetConfigKVHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 15.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
// check the ROOTCA from secret dump if secret.Name == "ROOTCA" { var returnStr string var returnErr error strCA, err := c.configDump.GetRootCAFromSecretConfigDump(secret.GetSecret()) if err != nil { returnStr = "" returnErr = fmt.Errorf("can not dump ROOTCA from secret: %v", err) } else { returnStr = strCA returnErr = nil } return returnStr, returnErr } }
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) -
istioctl/pkg/analyze/analyze.go
{ client: client, remote: false, }, } secrets, err := client.Kube().CoreV1().Secrets(ctx.IstioNamespace()).List(context.Background(), metav1.ListOptions{ LabelSelector: fmt.Sprintf("%s=%s", multicluster.MultiClusterSecretLabel, "true"), }) if err != nil { return nil, err } for _, s := range secrets.Items { for _, cfg := range s.Data {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
cni/pkg/constants/constants.go
ReadinessEndpoint = "/readyz" ReadinessPort = "8000" ) // Exposed for testing constants var ( CNIBinDir = "/opt/cni/bin" HostCNIBinDir = "/host/opt/cni/bin" ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount" // Well-known subpath we will mount any needed host-mounts under, // to preclude shadowing or breaking any pod-internal mounts HostMountsPath = "/host"
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) -
internal/config/config.go
// values. resultKVS := make([]KV, 0, len(store[target])) hkvs := HelpSubSysMap[subSys] for _, kv := range store[target] { hkv, _ := hkvs.Lookup(kv.Key) if hkv.Secret && redactSecrets && kv.Value != "" { // Skip returning secrets. continue // clonedKV := kv // clonedKV.Value = redactedSecret // resultKVS = append(resultKVS, clonedKV) } resultKVS = append(resultKVS, kv) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 37.3K bytes - Viewed (0) -
istioctl/pkg/util/configdump/util.go
clusters configTypeURL = "type.googleapis.com/envoy.admin.v3.ClustersConfigDump" routes configTypeURL = "type.googleapis.com/envoy.admin.v3.RoutesConfigDump" secrets configTypeURL = "type.googleapis.com/envoy.admin.v3.SecretsConfigDump" ecds configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump" )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
internal/config/constants.go
) // Top level common ENVs const ( EnvAccessKey = "MINIO_ACCESS_KEY" EnvSecretKey = "MINIO_SECRET_KEY" EnvRootUser = "MINIO_ROOT_USER" EnvRootPassword = "MINIO_ROOT_PASSWORD" // Legacy files EnvAccessKeyFile = "MINIO_ACCESS_KEY_FILE" EnvSecretKeyFile = "MINIO_SECRET_KEY_FILE" // Current files EnvRootUserFile = "MINIO_ROOT_USER_FILE" EnvRootPasswordFile = "MINIO_ROOT_PASSWORD_FILE"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 3.4K bytes - Viewed (3)