Add seccomp securityContext configuration for a container

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In k8s 1.27 the support for seccomp annotation will be removes.

      To continue to allow container to use a seccomp unconfined profile we should configure the container security context as following :
       

      spec:
        containers:
        - name: "..."
          securityContext:
            seccompProfile:
              type: Unconfined
      

      It is currently not possible to configure this in ContainerTemplate object and I tried to fill yaml attribute in PodTemplate with the above code but it doesn't work.

      It works if in yaml field I configure pod securityContext but i would do this only for one container.

      So it would be great to be able to configure a seccompProfile in a ContainerTemplate parameter.

            Assignee:
            Unassigned
            Reporter:
            Grégory Boué
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: