- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 for windowsOptions (0.27 sec)
-
pkg/securitycontext/util.go
effectiveSc.WindowsOptions.GMSACredentialSpec = containerSc.WindowsOptions.GMSACredentialSpec } if containerSc.WindowsOptions.RunAsUserName != nil { effectiveSc.WindowsOptions.RunAsUserName = containerSc.WindowsOptions.RunAsUserName } if containerSc.WindowsOptions.HostProcess != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 15 07:28:24 UTC 2023 - 7.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/security_context_windows_test.go
RunAsNonRoot: &runAsNonRootFalse, }, username: rootUser, fail: false, }, { desc: "Pass if RunAsNonRoot is false (WindowsOptions RunAsUserName is root)", sc: &v1.SecurityContext{ RunAsNonRoot: &runAsNonRootFalse, WindowsOptions: &v1.WindowsSecurityContextOptions{ RunAsUserName: &rootUser, }, }, username: rootUser, fail: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 02:29:11 UTC 2022 - 4.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/security_context_windows.go
if effectiveSc.WindowsOptions != nil { if effectiveSc.WindowsOptions.RunAsUserName != nil { if strings.EqualFold(*effectiveSc.WindowsOptions.RunAsUserName, windowsRootUserName) { return fmt.Errorf("container's runAsUserName (%s) which will be regarded as root identity and will break non-root policy (pod: %q, container: %s)", *effectiveSc.WindowsOptions.RunAsUserName, format.Pod(pod), container.Name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 18 22:23:13 UTC 2022 - 3.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go
podSpec: &v1.PodSpec{ SecurityContext: &v1.PodSecurityContext{ WindowsOptions: &v1.WindowsSecurityContextOptions{ HostProcess: &trueVar, }, }, Containers: []v1.Container{{ Name: containerName, }, { Name: containerName, SecurityContext: &v1.SecurityContext{ WindowsOptions: &v1.WindowsSecurityContextOptions{ HostProcess: &falseVar, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
WindowsOptions: &v1.WindowsSecurityContextOptions{ HostProcess: &trueVar, }, }, }}, }, expectedResult: true, }, { name: "pod with hostprocess=false, container with hostprocess=true", podSpec: &v1.PodSpec{ HostNetwork: true, SecurityContext: &v1.PodSecurityContext{ WindowsOptions: &v1.WindowsSecurityContextOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_windows.go
wc.SecurityContext.RunAsUsername = username } if effectiveSc.WindowsOptions != nil && effectiveSc.WindowsOptions.GMSACredentialSpec != nil { wc.SecurityContext.CredentialSpec = *effectiveSc.WindowsOptions.GMSACredentialSpec } // override with Windows options if present if effectiveSc.WindowsOptions != nil && effectiveSc.WindowsOptions.RunAsUserName != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 8K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go
// with apply. type PodSecurityContextApplyConfiguration struct { SELinuxOptions *SELinuxOptionsApplyConfiguration `json:"seLinuxOptions,omitempty"` WindowsOptions *WindowsSecurityContextOptionsApplyConfiguration `json:"windowsOptions,omitempty"` RunAsUser *int64 `json:"runAsUser,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 8.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json
"user": "userValue", "role": "roleValue", "type": "typeValue", "level": "levelValue" }, "windowsOptions": { "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", "gmsaCredentialSpec": "gmsaCredentialSpecValue", "runAsUserName": "runAsUserNameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 53.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json
"user": "userValue", "role": "roleValue", "type": "typeValue", "level": "levelValue" }, "windowsOptions": { "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", "gmsaCredentialSpec": "gmsaCredentialSpecValue", "runAsUserName": "runAsUserNameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 53.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml
role: roleValue type: typeValue user: userValue seccompProfile: localhostProfile: localhostProfileValue type: typeValue windowsOptions: gmsaCredentialSpec: gmsaCredentialSpecValue gmsaCredentialSpecName: gmsaCredentialSpecNameValue hostProcess: true runAsUserName: runAsUserNameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 34.2K bytes - Viewed (0)