Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ATHENS_STORAGE_TYPE as Env variable doesn't override the default disk #101

Open
salehparsa opened this issue Feb 6, 2025 · 1 comment
Assignees

Comments

@salehparsa
Copy link

salehparsa commented Feb 6, 2025

I've noticed that if you add ATHENS_STORAGE_TYPE as an ENV variable it will just cause having dupplicated ATHENS_STORAGE_TYPE and disk always stays. For instance the only way to configure S3 as a storage is adding following to the values:

storage:
  type: s3
  s3:
    region: "MY REGION"
    bucket: "MY BUCKET"
    useDefaultConfiguration: "true"
@DrPsychick DrPsychick self-assigned this Feb 15, 2025
@DrPsychick
Copy link
Member

Yes, that is right. While Athens itself is configured through ENV, the helm chart already takes care of quite a few of those variables.

ATHENS_STORAGE_TYPE is one of those variables, always set from values:

        - name: ATHENS_STORAGE_TYPE
          value: {{ .Values.storage.type | quote }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants