Skip to content

minio: allow declarative bucket creation #89559

@davidak

Description

@davidak

Issue description

might be possible with curl as preStart task?

  services.minio = {
    enable = true;
    listenAddress = "127.0.0.1:9000";
    accessKey = secrets.S3_ACCESS_KEY_ID;
    secretKey = secrets.S3_SECRET_ACCESS_KEY;
    region = "eu-central-1";
    buckets = [ "test" "backup" "prod" ];
  };

Steps to reproduce

i setup a service with nixos that need a specific s3 bucket. now it has to be done manually, but that is not how it should be on nixos

@bachp @hamishmack

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions