Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for AllowPrivilegeEscalation (0.57 sec)

  1. pkg/securitycontext/accessors_test.go

    			t.Errorf("%d: expected %#v, got %#v", i, expected.SeccompProfile, v)
    		}
    		if v := a.AllowPrivilegeEscalation(); !reflect.DeepEqual(expected.AllowPrivilegeEscalation, v) {
    			t.Errorf("%d: expected %#v, got %#v", i, expected.AllowPrivilegeEscalation, v)
    		}
    	}
    }
    
    func TestContainerSecurityContextMutator(t *testing.T) {
    	testcases := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  2. pkg/securitycontext/accessors.go

    }
    
    func (w *containerSecurityContextWrapper) AllowPrivilegeEscalation() *bool {
    	if w.containerSC == nil {
    		return nil
    	}
    	return w.containerSC.AllowPrivilegeEscalation
    }
    func (w *containerSecurityContextWrapper) SetAllowPrivilegeEscalation(v *bool) {
    	if w.containerSC == nil && v == nil {
    		return
    	}
    	w.ensureContainerSC()
    	w.containerSC.AllowPrivilegeEscalation = v
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  3. pkg/kube/inject/testdata/inject/list.yaml.injected

                limits:
                  cpu: "2"
                  memory: 1Gi
                requests:
                  cpu: 100m
                  memory: 128Mi
              securityContext:
                allowPrivilegeEscalation: false
                capabilities:
                  drop:
                  - ALL
                privileged: false
                readOnlyRootFilesystem: true
                runAsGroup: 1337
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

          successThreshold: 1
          timeoutSeconds: 5
        resources:
          limits:
            memory: 210Mi
          requests:
            cpu: 100m
            memory: 70Mi
        securityContext:
          allowPrivilegeEscalation: false
          readOnlyRootFilesystem: true
          runAsGroup: 1001
          runAsUser: 1001
          runAsNonRoot: true
          capabilities:
            add:
            - NET_BIND_SERVICE
            drop:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/hello-multi.yaml.injected

            resources:
              limits:
                cpu: "2"
                memory: 1Gi
              requests:
                cpu: 100m
                memory: 128Mi
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              readOnlyRootFilesystem: true
              runAsGroup: 1337
              runAsNonRoot: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

          successThreshold: 1
          timeoutSeconds: 5
        resources:
          limits:
            memory: 210Mi
          requests:
            cpu: 100m
            memory: 70Mi
        securityContext:
          allowPrivilegeEscalation: false
          readOnlyRootFilesystem: true
          runAsGroup: 1001
          capabilities:
            add:
            - NET_BIND_SERVICE
            drop:
            - ALL
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/files/injection-template.yaml

        - name: {{ $key }}
          value: "{{ $value }}"
        {{- end }}
      {{- end }}
        resources:
      {{ template "resources" . }}
        securityContext:
          allowPrivilegeEscalation: {{ .Values.global.proxy.privileged }}
          privileged: {{ .Values.global.proxy.privileged }}
          capabilities:
        {{- if not (or .Values.pilot.cni.enabled .Values.istio_cni.enabled) }}
            add:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/injection-template.yaml

        - name: {{ $key }}
          value: "{{ $value }}"
        {{- end }}
      {{- end }}
        resources:
      {{ template "resources" . }}
        securityContext:
          allowPrivilegeEscalation: {{ .Values.global.proxy.privileged }}
          privileged: {{ .Values.global.proxy.privileged }}
          capabilities:
        {{- if not (or .Values.pilot.cni.enabled .Values.istio_cni.enabled) }}
            add:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

              - name: nameValue
              limits:
                limitsKey: "0"
              requests:
                requestsKey: "0"
            restartPolicy: restartPolicyValue
            securityContext:
              allowPrivilegeEscalation: true
              capabilities:
                add:
                - addValue
                drop:
                - dropValue
              privileged: true
              procMount: procMountValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

            - name: nameValue
            limits:
              limitsKey: "0"
            requests:
              requestsKey: "0"
          restartPolicy: restartPolicyValue
          securityContext:
            allowPrivilegeEscalation: true
            capabilities:
              add:
              - addValue
              drop:
              - dropValue
            privileged: true
            procMount: procMountValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
Back to top