- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 179 for serviceaccountname (0.67 sec)
-
pkg/apis/core/v1/conversion_test.go
} if v.ServiceAccountName != name { t.Fatalf("want v1.ServiceAccountName %q, got %q", name, v.ServiceAccountName) } if v.DeprecatedServiceAccount != name { t.Fatalf("want v1.DeprecatedServiceAccount %q, got %q", name, v.DeprecatedServiceAccount) } // Test v1 -> internal. Either DeprecatedServiceAccount, ServiceAccountName, // or both should translate to ServiceAccountName. ServiceAccountName wins
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 05:34:15 UTC 2023 - 21.7K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission.go
// Set the default service account if needed if len(pod.Spec.ServiceAccountName) == 0 { pod.Spec.ServiceAccountName = DefaultServiceAccountName } serviceAccount, err := s.getServiceAccount(a.GetNamespace(), pod.Spec.ServiceAccountName) if err != nil { return admission.NewForbidden(a, fmt.Errorf("error looking up service account %s/%s: %w", a.GetNamespace(), pod.Spec.ServiceAccountName, err)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 18.6K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission_test.go
if err != nil { t.Errorf("Unexpected error: %v", err) } if pod.Spec.ServiceAccountName != DefaultServiceAccountName { t.Errorf("Expected service account %s assigned, got %s", DefaultServiceAccountName, pod.Spec.ServiceAccountName) } } func TestDeniesInvalidServiceAccount(t *testing.T) { ns := "myns"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 36.9K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
case SecretTypeRemote: secretName = remoteSecretNameFromClusterName(opt.ClusterName) if opt.ServiceAccountName == "" { opt.ServiceAccountName = constants.DefaultServiceAccountName } case SecretTypeConfig: secretName = configSecretName if opt.ServiceAccountName == "" { opt.ServiceAccountName = constants.DefaultConfigServiceAccountName } default:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 01:43:17 UTC 2023 - 24K bytes - Viewed (0) -
tests/integration/security/egress_sidecar_tls_origination_test.go
t.NewSubTest(tc.name).Run(func(t framework.TestContext) { if tc.authorizeSidecar { serviceAccount := tc.from.Config().ServiceAccountName() serviceAccountName := serviceAccount[strings.LastIndex(serviceAccount, "/")+1:] authorizeSidecar(t, tc.from.Config().Namespace, serviceAccountName) } newTLSSidecarDestinationRule(t, apps.External.All, "MUTUAL", tc.drSelector, tc.credentialToUse,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission_test.go
wantAllowed: false, wantErr: true, subresource: "", operation: admission.Create, }, { test: "One good container, one bad", pod: &api.Pod{ Spec: api.PodSpec{ ServiceAccountName: "default", SecurityContext: &api.PodSecurityContext{}, Containers: []api.Container{ { Image: "bad", SecurityContext: &api.SecurityContext{}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 32.9K bytes - Viewed (0) -
pkg/apis/core/v1/conversion.go
if err := autoConvert_v1_PodSpec_To_core_PodSpec(in, out, s); err != nil { return err } // We support DeprecatedServiceAccount as an alias for ServiceAccountName. // If both are specified, ServiceAccountName (the new field) wins. if in.ServiceAccountName == "" { out.ServiceAccountName = in.DeprecatedServiceAccount } // the host namespace fields have to be handled specially for backward compatibility // with v1.0.0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:30:55 UTC 2024 - 19K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/files/waypoint.yaml
"istio.io/gateway-name" .Name "gateway.istio.io/managed" "istio.io-mesh-controller" ) | nindent 8}} spec: terminationGracePeriodSeconds: 2 serviceAccountName: {{.ServiceAccount | quote}} containers: - name: istio-proxy ports: - containerPort: 15021 name: status-port protocol: TCP - containerPort: 15090
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 22:41:03 UTC 2024 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.conversion.go
out.ActiveDeadlineSeconds = (*int64)(unsafe.Pointer(in.ActiveDeadlineSeconds)) out.NodeSelector = *(*map[string]string)(unsafe.Pointer(&in.NodeSelector)) out.ServiceAccountName = in.ServiceAccountName // INFO: in.DeprecatedServiceAccount opted out of conversion generation out.NodeName = in.NodeName // INFO: in.HostNetwork opted out of conversion generation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/zz_generated.conversion.go
out.ActiveDeadlineSeconds = (*int64)(unsafe.Pointer(in.ActiveDeadlineSeconds)) out.NodeSelector = *(*map[string]string)(unsafe.Pointer(&in.NodeSelector)) out.ServiceAccountName = in.ServiceAccountName // INFO: in.DeprecatedServiceAccount opted out of conversion generation out.NodeName = in.NodeName // INFO: in.HostNetwork opted out of conversion generation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 11.4K bytes - Viewed (0)