Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SecurityContext (0.28 sec)

  1. pkg/api/pod/util_test.go

    			spec: &api.PodSpec{
    				Containers: []api.Container{
    					{Name: "c1"},
    					{Name: "c2", SecurityContext: &api.SecurityContext{}},
    				},
    				InitContainers: []api.Container{
    					{Name: "i1"},
    					{Name: "i2", SecurityContext: &api.SecurityContext{}},
    				},
    				EphemeralContainers: []api.EphemeralContainer{
    					{EphemeralContainerCommon: api.EphemeralContainerCommon{Name: "e1"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "type": "boolean"
            },
            "runAsUser": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  3. operator/cmd/mesh/testdata/manifest-generate/output/pilot_default.golden.yaml

                - name: {{ $key }}
                  value: "{{ $value }}"
                {{- end }}
              {{- end }}
                resources:
              {{ template "resources" . }}
                securityContext:
                  allowPrivilegeEscalation: {{ .Values.global.proxy.privileged }}
                  privileged: {{ .Values.global.proxy.privileged }}
                  capabilities:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 102.6K bytes
    - Viewed (0)
  4. pkg/apis/core/zz_generated.deepcopy.go

    	}
    	if in.Lifecycle != nil {
    		in, out := &in.Lifecycle, &out.Lifecycle
    		*out = new(Lifecycle)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.SecurityContext != nil {
    		in, out := &in.SecurityContext, &out.SecurityContext
    		*out = new(SecurityContext)
    		(*in).DeepCopyInto(*out)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    	}
    	if in.Lifecycle != nil {
    		in, out := &in.Lifecycle, &out.Lifecycle
    		*out = new(Lifecycle)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.SecurityContext != nil {
    		in, out := &in.SecurityContext, &out.SecurityContext
    		*out = new(SecurityContext)
    		(*in).DeepCopyInto(*out)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  6. pkg/apis/apps/validation/validation_test.go

    			},
    		},
    	}
    
    	validHostNetPodTemplate := api.PodTemplate{
    		Template: api.PodTemplateSpec{
    			ObjectMeta: metav1.ObjectMeta{
    				Labels: validLabels,
    			},
    			Spec: api.PodSpec{
    				SecurityContext: &api.PodSecurityContext{
    					HostNetwork: true,
    				},
    				RestartPolicy: api.RestartPolicyAlways,
    				DNSPolicy:     api.DNSClusterFirst,
    				Containers: []api.Container{{
    					Name:            "abc",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller_test.go

    						{
    							Image:                  "foo/bar",
    							TerminationMessagePath: v1.TerminationMessagePathDefault,
    							ImagePullPolicy:        v1.PullIfNotPresent,
    							SecurityContext:        securitycontext.ValidSecurityContextWithContainerDefaults(),
    						},
    					},
    					DNSPolicy: v1.DNSDefault,
    				},
    			},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    include "gateway.podLabels" . | nindent 8 }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "gateway.serviceAccountName" . }} securityContext: {{- if .Values.securityContext }} {{- toYaml .Values.securityContext | nindent 8 }} {{- else if (semverCompare ">=1.22-0" .Capabilities.KubeVersion.GitVersion) }} # Safe since 1.22: https://github.com/kubernetes/kubernetes/pull/103326 sysctls: - name: net.ipv4.ip_unprivileged_port_start...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  9. pkg/apis/batch/validation/validation_test.go

    	validHostNetPodTemplateSpec := func() api.PodTemplateSpec {
    		spec := getValidPodTemplateSpecForGenerated(validGeneratedSelector)
    		spec.Spec.SecurityContext = &api.PodSecurityContext{
    			HostNetwork: true,
    		}
    		spec.Spec.Containers[0].Ports = []api.ContainerPort{{
    			ContainerPort: 12345,
    			Protocol:      api.ProtocolTCP,
    		}}
    		return spec
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  10. cluster/gce/gci/configure-helper.sh

      # Replace the run as user and run as group
      container_security_context=""
      if [[ -n "${ETCD_RUNASUSER:-}" && -n "${ETCD_RUNASGROUP:-}" ]]; then
        container_security_context="\"securityContext\": {\"runAsUser\": ${ETCD_RUNASUSER}, \"runAsGroup\": ${ETCD_RUNASGROUP}, \"allowPrivilegeEscalation\": false, \"capabilities\": {\"drop\": [\"all\"]}},"
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top