- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createRemoteSecret (0.39 sec)
-
istioctl/pkg/multicluster/remote_secret.go
return remoteSecret, warn, nil } // CreateRemoteSecret creates a remote secret with credentials of the specified service account. // This is useful for providing a cluster access to a remote apiserver. func CreateRemoteSecret(client kube.CLIClient, opt RemoteSecretOptions) (string, Warning, error) { remoteSecret, warn, err := createRemoteSecret(opt, client) if err != nil { return "", warn, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
Namespace: testNamespace, Version: c.k8sMinorVersion, }) client, err := ctx.CLIClient() if err != nil { tt.Fatalf("failed to create client: %v", err) } got, _, err := CreateRemoteSecret(client, opts) if c.wantErrStr != "" { if err == nil { tt.Fatalf("wanted error including %q but got none", c.wantErrStr) } else if !strings.Contains(err.Error(), c.wantErrStr) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0)