Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for hostUsers (0.27 sec)

  1. pkg/kubelet/userns/userns_manager.go

    	}
    	if *pod.Spec.HostUsers {
    		return &runtimeapi.UserNamespace{
    			Mode: runtimeapi.NamespaceMode_NODE,
    		}, nil
    	}
    
    	// From here onwards, hostUsers=false and the feature gate is enabled.
    
    	// if the pod requested a user namespace and the runtime doesn't support user namespaces then return an error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/kubelet/userns/userns_manager_test.go

    		},
    		{
    			name: "opt-in to host user namespace",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					HostUsers: &trueVal,
    				},
    			},
    			expMode: runtimeapi.NamespaceMode_NODE,
    			success: true,
    		},
    		{
    			name: "user namespace",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					HostUsers: &falseVal,
    				},
    			},
    			expMode:       runtimeapi.NamespaceMode_POD,
    			runtimeUserns: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go

    	return b
    }
    
    // WithHostUsers sets the HostUsers field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the HostUsers field is set to the value of the last call.
    func (b *PodSpecApplyConfiguration) WithHostUsers(value bool) *PodSpecApplyConfiguration {
    	b.HostUsers = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:22:42 UTC 2022
    - 23.9K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/conversion.go

    		out.HostNetwork = in.SecurityContext.HostNetwork
    		out.HostIPC = in.SecurityContext.HostIPC
    		out.ShareProcessNamespace = in.SecurityContext.ShareProcessNamespace
    		out.HostUsers = in.SecurityContext.HostUsers
    	}
    
    	return nil
    }
    
    func Convert_core_NodeSpec_To_v1_NodeSpec(in *core.NodeSpec, out *v1.NodeSpec, s conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/api/pod/util.go

    	// If the feature is disabled and not in use, drop the hostUsers field.
    	if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) && !hostUsersInUse(oldPodSpec) {
    		// Drop the field in podSpec only if SecurityContext is not nil.
    		// If it is nil, there is no need to set hostUsers=nil (it will be nil too).
    		if podSpec.SecurityContext != nil {
    			podSpec.SecurityContext.HostUsers = nil
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

            workingDir: workingDirValue
          hostAliases:
          - hostnames:
            - hostnamesValue
            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

          workingDir: workingDirValue
        hostAliases:
        - hostnames:
          - hostnamesValue
          ip: ipValue
        hostIPC: true
        hostNetwork: true
        hostPID: true
        hostUsers: true
        hostname: hostnameValue
        imagePullSecrets:
        - name: nameValue
        initContainers:
        - args:
          - argsValue
          command:
          - commandValue
          env:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

            workingDir: workingDirValue
          hostAliases:
          - hostnames:
            - hostnamesValue
            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
    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/HEAD/apps.v1.ReplicaSet.yaml

            workingDir: workingDirValue
          hostAliases:
          - hostnames:
            - hostnamesValue
            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml

            workingDir: workingDirValue
          hostAliases:
          - hostnames:
            - hostnamesValue
            ip: ipValue
          hostIPC: true
          hostNetwork: true
          hostPID: true
          hostUsers: true
          hostname: hostnameValue
          imagePullSecrets:
          - name: nameValue
          initContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top