- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 227 for SecurityContext (0.16 sec)
-
helm/minio/templates/post-job.yaml
tolerations: {{- toYaml . | nindent 8 }} {{- end }} {{- if .Values.postJob.securityContext.enabled }} securityContext: runAsUser: {{ .Values.postJob.securityContext.runAsUser }} runAsGroup: {{ .Values.postJob.securityContext.runAsGroup }} fsGroup: {{ .Values.postJob.securityContext.fsGroup }} {{- end }} volumes: - name: etc-path emptyDir: {}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jul 08 19:18:31 UTC 2023 - 10.4K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission_test.go
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/volume/util/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go
pod := newTestPod() if podFieldProfile != nil { pod.Spec.SecurityContext = &v1.PodSecurityContext{ SeccompProfile: podFieldProfile, } } if containerFieldProfile != nil { pod.Spec.Containers[0].SecurityContext = &v1.SecurityContext{ SeccompProfile: containerFieldProfile, } } return pod }
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/securitycontext/accessors_test.go
testcases := map[string]struct { newSC func() *api.SecurityContext }{ "nil": { newSC: func() *api.SecurityContext { return nil }, }, "zero": { newSC: func() *api.SecurityContext { return &api.SecurityContext{} }, }, "populated": { newSC: func() *api.SecurityContext { return &api.SecurityContext{ Capabilities: &api.Capabilities{Drop: []api.Capability{"test"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 16:15:27 UTC 2023 - 27.8K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
return &b } tests := map[string]struct { securityContext *v1.SecurityContext expected bool }{ "nil security context": { securityContext: nil, expected: false, }, "nil privileged": { securityContext: &v1.SecurityContext{}, expected: false, }, "false privileged": { securityContext: &v1.SecurityContext{Privileged: newBoolPtr(false)}, expected: false,
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_sandbox.go
}, } sysctls := make(map[string]string) if pod.Spec.SecurityContext != nil { for _, c := range pod.Spec.SecurityContext.Sysctls { sysctls[c.Name] = c.Value } } lc.Sysctls = sysctls if pod.Spec.SecurityContext != nil { sc := pod.Spec.SecurityContext if sc.RunAsUser != nil && runtime.GOOS != "windows" { lc.SecurityContext.RunAsUser = &runtimeapi.Int64Value{Value: int64(*sc.RunAsUser)} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux_test.go
containerSc: &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeLocalhost}}, expectedError: "localhostProfile must be set if seccompProfile type is Localhost.", }, { description: "container seccomp profile set to SeccompProfileTypeLocalhost returns 'localhost/' + LocalhostProfile",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.6K bytes - Viewed (0) -
helm/minio/templates/statefulset.yaml
runtimeClassName: "{{ .Values.runtimeClassName }}" {{- end }} {{- if and .Values.securityContext.enabled .Values.persistence.enabled }} securityContext: runAsUser: {{ .Values.securityContext.runAsUser }} runAsGroup: {{ .Values.securityContext.runAsGroup }} fsGroup: {{ .Values.securityContext.fsGroup }} {{- if and (ge .Capabilities.KubeVersion.Major "1") (ge .Capabilities.KubeVersion.Minor "20") }}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 07:50:24 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/apis/apps/v1/conversion_test.go
Spec: v1.PodSpec{ RestartPolicy: v1.RestartPolicy("bar"), SecurityContext: new(v1.PodSecurityContext), }, } apiTemplate := api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Spec: api.PodSpec{ RestartPolicy: api.RestartPolicy("bar"), SecurityContext: new(api.PodSecurityContext), }, } testcases := map[string]struct { stsSpec1 *apps.StatefulSetSpec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 20.1K bytes - Viewed (0)