Skip to content

Migration to S3 bucket (Minio) not working. #8657

@mlinares1998

Description

@mlinares1998

Describe the bug
Hi. I'm trying to migrate from PV /media file storage to a Minio S3 bucket, but am unable to get the files loaded from the bucket after following the tutorial from https://goauthentik.io/docs/installation/storage-s3

I'm using the helm chart with ArgoCD, mounting my custom CA at /certs and setting the Minio keys in a extra secret created as an additionalObject, mounted using secretRef.

After the launch, the variables are correctly set within the pod but i don't have any logs with access attemps to the S3 bucket nor failed SSL verification due the custom CA, even with AUTHENTIK_LOG_LEVEL set as debug, furthermore, removing the /media PVC ends with authentik assets broken due the missing files (404's), adding a replacement via the console put's it on ephemeral /media folder on the pod.

I don't know if i'm doing anything wrong, It's like it doesn't detect the switch to S3. i'll be grateful if you can help me debugging this.
Thanks!

To Reproduce
Follow the steps from https://goauthentik.io/docs/installation/storage-s3 to switch to S3 bucket.

S3 connection values

AUTHENTIK_STORAGE_MEDIA_S3_ENDPOINT: https://s3.ops.easybyte.club
AUTHENTIK_STORAGE_MEDIA_S3_ACCESS__KEY: XXXXXXXXXXXXXXXXXXX
AUTHENTIK_STORAGE_MEDIA_S3_SECRET__KEY: XXXXXXXXXXXXXXXXXXX
AUTHENTIK_STORAGE_MEDIA_S3_BUCKET__NAME: authentik
AUTHENTIK_STORAGE_MEDIA_S3_CUSTOM__DOMAIN: s3.ops.easybyte.club/authentik
AUTHENTIK_STORAGE_MEDIA_S3_REGION: eb-ops

Expected behavior
Assets being loaded from the bucket rather pod's /media folder

Screenshots
image
image
image
image

Version and Deployment (please complete the following information):

  • authentik version: 2024.2.1
  • Deployment: Helm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions