Skip to content

Broader support for security context #124

@vongohren

Description

@vongohren

Hi! I see that security context is partly supported

securityContext:

But we have a broader need to support more details

apiVersion: apps/v1
kind: Deployment
spec:
  template:
    spec:
      securityContext:
        runAsNonRoot: true
        seccompProfile:
          type: RuntimeDefault
      containers:
      - name: mypod
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL

I dont want to mess to much with the code here, so beginning with a PR and hopefully its a quick fix :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions