Skip to content

For OCP 4.11+ Netbindservice is needed when creating the deployment #12

@odellem

Description

@odellem

After OCP 4.10 the policy to give NET_BIND_SERVICE by default is disabled and it needs to be manually added. This piece of yaml should be added to the deployment file to work on OCP 4.11+ clusters.

spec:
    template:
        spec:
            containers:
                securityContext:
                    capabilities:
                        add:
                            - NET_BIND_SERVICE

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