Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Use Secrets for passwords and tokens - try 2 #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paradon
Copy link
Contributor

@paradon paradon commented May 19, 2020

Resubmission of #13

Changed from using "gitea generate secret INTERNAL_TOKEN" to just creating an empty file writable by Gitea, if the secret isn't provided, to work around go-gitea/gitea#11498

paradon added 2 commits May 19, 2020 12:11
Workaround for go-gitea/gitea/#11498

Gitea breaks if the INTERNAL_TOKEN_URI file contains a `\n`, but
`gitea generate secret` appends one.

As long as the file exists, is empty, and is writable, Gitea will
auto-generate the content, so we just `touch` it instead.

Signed-off-by: Thomas Matysik <[email protected]>
@alexgorbatchev
Copy link

Could this be merged?

@alexgorbatchev
Copy link

@cdrage ping

@cdrage
Copy link
Contributor

cdrage commented Aug 28, 2020

Hey all, I have donated this chart to the folks over at Gitea who have been doing an amazing job maintaining and updating the chart so it is up to date. Please open up any issues here: https://gitea.com/gitea/helm-chart and try theirs own!

Many thanks for all who've contributed.

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

Successfully merging this pull request may close these issues.

3 participants