Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Follow-up to #929. Moves the ZopDay deploy button from
quay.io/authorizer/authorizer:1.4.4to a v2 image,ghcr.io/authorizerdev/authorizer-oneclick:2.4.8, on port 8080.Thanks to @muskanbandta23 for #929, which found and fixed the broken button and laid out why v2 could not be deployed from a button.
Why not 1.4.4: 1.4.4 is affected by published critical advisories GHSA-h29v-hj44-q8cv, GHSA-29rf-f4vv-pvq6 and GHSA-845v-5ggv-pwfp, with no fix on the 1.x line. The README should not send new users to it.
What the new image does (authorizerdev/authorizer-oneclick): v2 reads no environment variables, only CLI flags, and a deploy button can only set an image, a port and env vars. This image wraps
quay.io/authorizer/authorizer:2.4.8with an entrypoint that:/authorizer/data/authorizer.db, port$PORT(default 8080);CLIENT_ID,CLIENT_SECRET,JWT_SECRET,ENCRYPTION_KEYandADMIN_SECRETon first boot when unset, saves them in a 0600 file under/authorizer/data, and prints only the generatedADMIN_SECRET, once, with a warning to change it;--url=http://localhost:$PORTwith a loud warning whenAUTHORIZER_URLis unset, because--urlis mandatory. The README tells users to set it after deploy.Its CI smoke-tests a zero-env boot, a restart on the same volume (same secrets, same user) and an explicit-secrets boot before publishing multi-arch images.
Link changes: the
DATABASE_TYPE/DATABASE_URLenv params are gone because the image defaults to them. No secrets are in the link, since it is public. I kept theutm_*params from #929: they are ZopDay's own non-secret attribution and their contributor added them. The docs column now points to the new repo.Do not merge yet. Two things have to happen first:
authorizer-oneclickhas to be made public (it was created private). Until then the link deploys an image ZopDay cannot pull.imageparam.Which issue(s) does this PR fix?
None filed. Follow-up to #929.
If this PR affects any API reference documentation, please share the updated endpoint references
No API change.
README.mdonly, one line changed.