- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 898 for serviceAccount (0.22 sec)
-
pkg/controller/serviceaccount/tokengetter.go
return clientGetter{c, secretLister, serviceAccountLister, podLister, nodeLister} } func (c clientGetter) GetServiceAccount(namespace, name string) (*v1.ServiceAccount, error) { if serviceAccount, err := c.serviceAccountLister.ServiceAccounts(namespace).Get(name); err == nil { return serviceAccount, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 3K bytes - Viewed (0) -
pkg/serviceaccount/legacy.go
}, &legacyPrivateClaims{ Namespace: serviceAccount.Namespace, ServiceAccountName: serviceAccount.Name, ServiceAccountUID: string(serviceAccount.UID), SecretName: secret.Name, } } const ( LegacyIssuer = "kubernetes/serviceaccount" LastUsedLabelKey = "kubernetes.io/legacy-token-last-used" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 08:32:23 UTC 2023 - 8.4K bytes - Viewed (0) -
pkg/serviceaccount/claims_test.go
} type fakeGetter struct { serviceAccount *v1.ServiceAccount secret *v1.Secret pod *v1.Pod node *v1.Node } func (f fakeGetter) GetServiceAccount(namespace, name string) (*v1.ServiceAccount, error) { if f.serviceAccount == nil { return nil, apierrors.NewNotFound(schema.GroupResource{Group: "", Resource: "serviceaccounts"}, name) } return f.serviceAccount, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0) -
pkg/controller/serviceaccount/serviceaccounts_controller.go
type ServiceAccountsControllerOptions struct { // ServiceAccounts is the list of service accounts to ensure exist in every namespace ServiceAccounts []v1.ServiceAccount // ServiceAccountResync is the interval between full resyncs of ServiceAccounts. // If non-zero, all service accounts will be re-listed this often.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/strategy.go
func (strategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { cleanSecretReferences(obj.(*api.ServiceAccount)) } func cleanSecretReferences(serviceAccount *api.ServiceAccount) { for i, secret := range serviceAccount.Secrets { serviceAccount.Secrets[i] = api.ObjectReference{Name: secret.Name} } } func (strategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 18 14:42:36 UTC 2021 - 2.6K bytes - Viewed (0) -
pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go
} creationTime, _ := time.Parse(dateFormat, creationTimeString) labels := map[string]string{} if lastUsedLabel != "" { labels[serviceaccount.LastUsedLabelKey] = lastUsedLabel } if invalidSinceLabel != "" { labels[serviceaccount.InvalidSinceLabelKey] = invalidSinceLabel } return &v1.Secret{ ObjectMeta: metav1.ObjectMeta{ Name: "token-secret-1", Namespace: "default",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 03:52:06 UTC 2023 - 21.1K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
} func secretReferencesServiceAccount(serviceAccount *v1.ServiceAccount, secret *v1.Secret) error { if secret.Type != v1.SecretTypeServiceAccountToken || secret.Annotations[v1.ServiceAccountNameKey] != serviceAccount.Name { return fmt.Errorf("secret %s/%s does not reference ServiceAccount %s", secret.Namespace, secret.Name, serviceAccount.Name) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 01:43:17 UTC 2023 - 24K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json
"protocol": "HBONE", "uid": "Kubernetes//Pod/bookinfo/ratings-v1-6484c4d9bb-mdxm5", "name": "ratings-v1-6484c4d9bb-mdxm5", "namespace": "bookinfo", "trustDomain": "cluster.local", "serviceAccount": "bookinfo-ratings", "workloadName": "ratings-v1", "workloadType": "deployment", "canonicalName": "ratings", "canonicalRevision": "v1", "network": "network1",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 03:28:36 UTC 2024 - 33.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml
name: system:controller:attachdetach-controller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: system:controller:attachdetach-controller subjects: - kind: ServiceAccount name: attachdetach-controller namespace: kube-system - apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: annotations:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/doc.go
See the License for the specific language governing permissions and limitations under the License. */ // Package serviceaccount provides a Registry interface and a strategy // implementation for storing ServiceAccount API objects.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 21 14:11:50 UTC 2016 - 786 bytes - Viewed (0)