Skip to content

feat: Consider fixing APISIX and APISIX-ingress containers to work without anyuid SCC #11714

Description

@Feelas

Description

On OpenShift, it shouldn't be necessary for the user to add 'anyuid' permissions to SA that will be running APISIX.

The issues that are currently solved by using anyuid (#10480, #11425) are most likely due to /usr/local/apisix being owned by apisix:apisix (uid 636). This results in arbitrary UIDs on OCP not being able to write there.
This could be solved at container image build-time for APISIX images by following "Support arbitrary user ids" from OpenShift docs.

This can be PoC'd by creating a dependant image, which applies the recommended chgrp & chmod commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions