- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createRemoteSecretFromPlugin (0.24 sec)
-
istioctl/pkg/multicluster/remote_secret.go
c := createBaseKubeconfig(caData, clusterName, server) c.AuthInfos[c.CurrentContext] = &api.AuthInfo{ AuthProvider: authProviderConfig, } return c } func createRemoteSecretFromPlugin( tokenSecret *v1.Secret, server, clusterName, secName string, authProviderConfig *api.AuthProviderConfig, ) (*v1.Secret, error) { caData, ok := tokenSecret.Data[v1.ServiceAccountRootCAKey] if !ok {
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
}, }, } for i := range cases { c := &cases[i] secName := remoteSecretNameFromClusterName(c.clusterName) t.Run(fmt.Sprintf("[%v] %v", i, c.name), func(tt *testing.T) { got, err := createRemoteSecretFromPlugin(c.in, c.server, c.clusterName, secName, c.authProviderConfig) if c.wantErrStr != "" { if err == nil { tt.Fatalf("wanted error including %q but none", 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)