Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for runAsUserName (0.27 sec)

  1. pkg/kubelet/kuberuntime/security_context_windows_test.go

    			},
    			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)
  2. pkg/kubelet/kuberuntime/security_context_windows.go

    	}
    	// Verify that if runAsUserName is set for the pod and/or container that it is not set to 'ContainerAdministrator'
    	if effectiveSc.WindowsOptions != nil {
    		if effectiveSc.WindowsOptions.RunAsUserName != nil {
    			if strings.EqualFold(*effectiveSc.WindowsOptions.RunAsUserName, windowsRootUserName) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 22:23:13 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    	if username != "" {
    		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)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go

    					SecurityContext: &v1.SecurityContext{
    						WindowsOptions: &v1.WindowsSecurityContextOptions{
    							GMSACredentialSpecName: &gmsaCredSpecName,
    							GMSACredentialSpec:     &gmsaCredSpec,
    							RunAsUserName:          &username,
    							HostProcess:            &asHostProcess,
    						},
    					},
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. 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 {
    			effectiveSc.WindowsOptions.HostProcess = containerSc.WindowsOptions.HostProcess
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 15 07:28:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
                gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                hostProcess: true
                runAsUserName: runAsUserNameValue
            startupProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
                port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

              type: typeValue
            windowsOptions:
              gmsaCredentialSpec: gmsaCredentialSpecValue
              gmsaCredentialSpecName: gmsaCredentialSpecNameValue
              hostProcess: true
              runAsUserName: runAsUserNameValue
          startupProbe:
            exec:
              command:
              - commandValue
            failureThreshold: 6
            grpc:
              port: 1
              service: serviceValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
                gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                hostProcess: true
                runAsUserName: runAsUserNameValue
            startupProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
                port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
Back to top