- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for SA (0.12 sec)
-
istioctl/pkg/multicluster/remote_secret_test.go
func makeServiceAccount(secrets ...string) *v1.ServiceAccount { sa := &v1.ServiceAccount{ ObjectMeta: metav1.ObjectMeta{ Name: testServiceAccountName, Namespace: testNamespace, }, } for _, secret := range secrets { sa.Secrets = append(sa.Secrets, v1.ObjectReference{ Name: secret, Namespace: testNamespace, }) } return sa } func makeSecret(name, caData, token string) *v1.Secret {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
} if err := secretReferencesServiceAccount(serviceAccount, secret); err != nil { return nil, err } return secret, nil } // first try to find an existing secret that references the SA // TODO will the SA have any reference to secrets anymore, can we avoid this list? allSecrets, err := client.Kube().CoreV1().Secrets(opt.Namespace).List(ctx, metav1.ListOptions{}) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
// TODO: add more checks sa := local.NewSourceAnalyzer( analysis.Combine("upgrade precheck", &maturity.AlphaAnalyzer{}), resource.Namespace(ctx.Namespace()), resource.Namespace(ctx.IstioNamespace()), nil, ) if err != nil { return nil, err } sa.AddRunningKubeSource(cli) cancel := make(chan struct{}) result, err := sa.Analyze(cancel) if err != nil { return nil, err
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
Example: " istioctl x workload group create --name foo --namespace bar --labels app=foo,bar=baz " + "--ports grpc=3550,http=8080 --annotations annotation=foobar --serviceAccount sa", Args: func(cmd *cobra.Command, args []string) error { if name == "" { return fmt.Errorf("expecting a workload name") } if namespace == "" { return fmt.Errorf("expecting a workload namespace")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0)