- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getHubMembership (0.16 sec)
-
istioctl/pkg/xds/client.go
isMCP := strings.HasSuffix(opts.Xds, ".googleapis.com") || strings.HasSuffix(opts.Xds, ".googleapis.com:443") if isMCP { // Special credentials handling when using ASM Managed Control Plane. mem, err := getHubMembership(ctx, kubeClient) if err != nil { return nil, fmt.Errorf("failed to query Hub membership: %w", err) } aud = []string{mem.WorkloadIdentityPool} }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 3.7K bytes - Viewed (0) -
istioctl/pkg/xds/google.go
} dst[k] = v } else { dst[dstHdr] = v } } return nil } type hubMembership struct { WorkloadIdentityPool string } func getHubMembership(ctx context.Context, exClient kube.CLIClient) (*hubMembership, error) { client := exClient.Dynamic() gvr := schema.GroupVersionResource{ Group: "hub.gke.io", Version: "v1", Resource: "memberships", }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 3.4K bytes - Viewed (0)