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

[feat] Create/use a K8S secret for the admin credentials for paperless-ngx #228

Closed
rabejens opened this issue Mar 9, 2023 · 4 comments · Fixed by #230
Closed

[feat] Create/use a K8S secret for the admin credentials for paperless-ngx #228

rabejens opened this issue Mar 9, 2023 · 4 comments · Fixed by #230
Assignees
Labels
enhancement New feature or request

Comments

@rabejens
Copy link

rabejens commented Mar 9, 2023

Is your feature request related to a problem? Please describe.

Running the chart directly does not set admin user / password so no login is possible.

Describe the solution you'd like

Add a configuration option to the values.yaml that either creates a new secret or allows to use an existing one to set the admin credentials.

Describe alternatives you've considered

As a workaround, it is possible to set the credentials using the environment variables PAPERLESS_ADMIN_USERNAME and PAPERLESS_ADMIN_PASSWORD.

@rabejens rabejens added the enhancement New feature or request label Mar 9, 2023
@pascaliske
Copy link
Owner

pascaliske commented Mar 9, 2023

Thanks for this new issue!

Let me correct this:

Running the chart directly does not set admin user / password so no login is possible.

Login is possible with the manual creation of a superuser account as stated in the official docs.

Since I find this feature useful, I will still implement this - as soon as I have some free time. 😊

pascaliske added a commit that referenced this issue Mar 9, 2023
BREAKING CHANGE:
- The .Values.secret.secretKey was removed. Please use new .Values.secret.values object.

Closes #228.
pascaliske added a commit that referenced this issue Mar 10, 2023
BREAKING CHANGE:
- The .Values.secret.secretKey was removed. Please use new .Values.secret.values object.

Closes #228.
@pascaliske
Copy link
Owner

@all-contributors please add @rabejens for ideas

@allcontributors
Copy link
Contributor

@pascaliske

I've put up a pull request to add @rabejens! 🎉

pascaliske added a commit that referenced this issue Mar 10, 2023
BREAKING CHANGE:
- The .Values.secret.secretKey was removed. Please use new .Values.secret.values object.

Closes #228.
pascaliske added a commit that referenced this issue Mar 10, 2023
BREAKING CHANGE:
- The .Values.secret.secretKey was removed. Please use new .Values.secret.values object.

Closes #228.
@pascaliske
Copy link
Owner

pascaliske commented Mar 11, 2023

@rabejens I've just finished my work on this feature! I will shortly release paperless-3.0.0. 🎉

I hope the solution fits your environment as well!

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

Successfully merging a pull request may close this issue.

2 participants