Skip to content

Stardog cannot write on the persistent volume #75

@fungiboletus

Description

@fungiboletus

When using the default configuration, stardog does not have the permission to write ont he persistent volume. This is because the persistent volume is owned by root and stardog doesn't use run with the root user by default.

STARDOG_HOME '/var/opt/stardog/' is not writeable by the current user

A workaround is to run stardog as root:

  securityContext:
    enabled: true
    runAsUser: 0
    runAsGroup: 0
    fsGroup: 0

A better solution would be to use the busybox init container, not only when the cluster is enabled, to change the permissions before stardog starts.

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