- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 178 for service_account (0.25 sec)
-
pkg/controlplane/apiserver/config.go
for _, f := range opts.Authentication.ServiceAccounts.KeyFiles { keys, err := keyutil.PublicKeysFromFile(f) if err != nil { return nil, nil, fmt.Errorf("failed to parse key file %q: %w", f, err) } pubKeys = append(pubKeys, keys...) } config.ServiceAccountIssuerURL = opts.Authentication.ServiceAccounts.Issuers[0] config.ServiceAccountJWKSURI = opts.Authentication.ServiceAccounts.JWKSURI
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 14.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency.go
ctx := context.Background() if _, err := client.CoreV1().ServiceAccounts(sa.ObjectMeta.Namespace).Create(ctx, sa, metav1.CreateOptions{}); err != nil { if !apierrors.IsAlreadyExists(err) { lastError = errors.Wrap(err, "unable to create ServicAccount") return false, nil } if _, err := client.CoreV1().ServiceAccounts(sa.ObjectMeta.Namespace).Update(ctx, sa, metav1.UpdateOptions{}); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 18.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
svcPort *networking.ServicePort, svcLabels map[string]string, serviceAccount string, ) *model.ServiceInstance { i := makeInstance(cfg, address, port, svcPort, svcLabels, MTLSUnlabelled) i.Endpoint.ServiceAccount = spiffe.MustGenSpiffeURIForTrustDomain("cluster.local", i.Service.Attributes.Namespace, serviceAccount) return i } // nolint: unparam
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/model/endpointshards.go
oldServiceAccount := shards.ServiceAccounts serviceAccounts := sets.String{} for _, epShards := range shards.Shards { for _, ep := range epShards { if ep.ServiceAccount != "" { serviceAccounts.Insert(ep.ServiceAccount) } } } if !oldServiceAccount.Equals(serviceAccounts) { shards.ServiceAccounts = serviceAccounts
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/deploymentcontroller.go
dc.deployments.AddEventHandler(parentHandler) dc.clients[gvr.Deployment] = NewUntypedWrapper(dc.deployments) dc.serviceAccounts = kclient.NewFiltered[*corev1.ServiceAccount](client, filter) dc.serviceAccounts.AddEventHandler(parentHandler) dc.clients[gvr.ServiceAccount] = NewUntypedWrapper(dc.serviceAccounts) dc.namespaces = kclient.NewFiltered[*corev1.Namespace](client, filter)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 26.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency_test.go
expectedError bool }{ { name: "create serviceaccount success", setupClient: func(client *clientsetfake.Clientset) { client.PrependReactor("create", "serviceaccounts", func(clientgotesting.Action) (bool, runtime.Object, error) { return true, nil, nil }) }, expectedError: false, }, { name: "create serviceaccount returns error",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 33.2K bytes - Viewed (0) -
pilot/pkg/model/service.go
Port: port.Port, Protocol: port.Protocol, } } else { out.Ports[i] = nil } } } if s.ServiceAccounts != nil { out.ServiceAccounts = make([]string, len(s.ServiceAccounts)) copy(out.ServiceAccounts, s.ServiceAccounts) } out.ClusterVIPs = *s.ClusterVIPs.DeepCopy() return &out } // Equals compares two service objects.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go
rbacv1helpers.NewRule("delete").Groups(legacyGroup).Resources("secrets").RuleOrDie(), rbacv1helpers.NewRule("get").Groups(legacyGroup).Resources("namespaces", "secrets", "serviceaccounts", "configmaps").RuleOrDie(), rbacv1helpers.NewRule("update").Groups(legacyGroup).Resources("secrets", "serviceaccounts").RuleOrDie(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 19:25:10 UTC 2024 - 34.4K bytes - Viewed (0) -
pkg/config/schema/kubeclient/resources.gen.go
} case gvr.ServiceAccount: l = func(options metav1.ListOptions) (runtime.Object, error) { return c.Kube().CoreV1().ServiceAccounts(opts.Namespace).List(context.Background(), options) } w = func(options metav1.ListOptions) (watch.Interface, error) { return c.Kube().CoreV1().ServiceAccounts(opts.Namespace).Watch(context.Background(), options) } case gvr.ServiceEntry:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 13:57:51 UTC 2024 - 31.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/deployment.go
} return config, nil } func createServiceAccount(client kubernetes.Interface, ns string, serviceAccount string) error { scopes.Framework.Debugf("Creating service account for: %s/%s", ns, serviceAccount) _, err := client.CoreV1().ServiceAccounts(ns).Create(context.TODO(), &corev1.ServiceAccount{ ObjectMeta: metav1.ObjectMeta{Name: serviceAccount}, }, metav1.CreateOptions{}) return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 24.1K bytes - Viewed (0)