Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for runAsGroup (0.96 sec)

  1. cmd/kubeadm/app/util/staticpod/utils_linux.go

    	pod.Spec.SecurityContext.RunAsUser = runAsUser
    	pod.Spec.SecurityContext.RunAsGroup = runAsGroup
    	pod.Spec.SecurityContext.SupplementalGroups = []int64{*supplementalGroup}
    	return nil
    }
    
    // runKubeSchedulerAsNonRoot updates the pod manifest and the hostVolume permissions to run kube-scheduler as non root.
    func runKubeSchedulerAsNonRoot(pod *v1.Pod, runAsUser, runAsGroup *int64, updatePathOwnerAndPermissions pathOwnerAndPermissionsUpdaterFunc) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 14:41:12 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/staticpod/utils_linux_test.go

    		filepath.Join(cfg.CertificatesDir, kubeadmconstants.APIServerKubeletClientKeyName): {uid: runAsUser, gid: runAsGroup, permissions: 0600},
    		filepath.Join(cfg.CertificatesDir, kubeadmconstants.FrontProxyClientKeyName):       {uid: runAsUser, gid: runAsGroup, permissions: 0600},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 14:41:12 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go

    }
    
    // WithRunAsGroup sets the RunAsGroup 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 RunAsGroup field is set to the value of the last call.
    func (b *PodSecurityContextApplyConfiguration) WithRunAsGroup(value int64) *PodSecurityContextApplyConfiguration {
    	b.RunAsGroup = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go

    }
    
    func newTestPodWithLinuxSecurityContext() *v1.Pod {
    	anyGroup := int64(10)
    	anyUser := int64(1000)
    	pod := newTestPod()
    
    	pod.Spec.SecurityContext = &v1.PodSecurityContext{
    		SELinuxOptions: &v1.SELinuxOptions{
    			User: "qux",
    		},
    		RunAsUser:  &anyUser,
    		RunAsGroup: &anyGroup,
    	}
    
    	return pod
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.tproxy.injected

            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            proxy.istio.io/overrides: '{"containers":[{"name":"istio-proxy","resources":{},"securityContext":{"runAsUser":1234,"runAsGroup":4321}}]}'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.injected

            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            proxy.istio.io/overrides: '{"containers":[{"name":"istio-proxy","resources":{},"securityContext":{"runAsUser":1234,"runAsGroup":4321}}]}'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.cni.injected

            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
            proxy.istio.io/overrides: '{"containers":[{"name":"istio-proxy","resources":{},"securityContext":{"runAsUser":1234,"runAsGroup":4321}}]}'
            sidecar.istio.io/interceptionMode: REDIRECT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inject/enable-core-dump.yaml.injected

            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              readOnlyRootFilesystem: false
              runAsGroup: 1337
              runAsNonRoot: true
              runAsUser: 1337
            startupProbe:
              failureThreshold: 600
              httpGet:
                path: /healthz/ready
                port: 15021
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/proxy-override.yaml.injected

            sidecar.istio.io/status: '{"initC...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/enable-core-dump-annotation.yaml.injected

            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              readOnlyRootFilesystem: false
              runAsGroup: 1337
              runAsNonRoot: true
              runAsUser: 1337
            startupProbe:
              failureThreshold: 600
              httpGet:
                path: /healthz/ready
                port: 15021
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top