Skip to content

Adjust logrotate service so that it doesn't rely on getting the Pebble plan as a non-admin Pebble user #189

@tonyandrewmeyer

Description

@tonyandrewmeyer

The next version of Pebble will require admin access to get the plan, so that it's safer to include sensitive data (particularly in environment variables).

That means that this code that runs pebble plan, as the mongodb user I think, will no longer work (it will error out with an access denied response).

You could add a Pebble identity for the the user that runs the command that gives it admin access, but I think that would be the wrong approach, since it shouldn't need to have full access to Pebble (which is basically unlimited access to the container). Instead, it would be better to pass the content to the service another way, like in a file.

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