Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comply with OCP/OKD 4.11 and 4.12 Pod Security Standards #2036

Merged
merged 1 commit into from Jul 25, 2022

Commits on Jul 21, 2022

  1. Comply with OCP 4.11 and 4.12 Pod Security Standards

    Set something like:
    ```
    spec:
     securityContext:
       # Do not use SeccompProfile if your project must work on
       # old k8s versions < 1.19 and Openshift < 4.11
       seccompProfile:
          type: RuntimeDefault
       runAsNonRoot: true
     containers:
       - name: my-container
         securityContext:
           allowPrivilegeEscalation: false
           capabilities:
             drop:
               - ALL
    ```
    following OCP/OKD 4.12 best practices.
    This change should be backported to release-1.7
    to ensure a smooth upgrade process to the next version.
    
    Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
    tiraboschi committed Jul 21, 2022
    Copy the full SHA
    b1411ac View commit details
    Browse the repository at this point in the history