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: add value for supplying an existing secret containing the JWT server keypair #67

Closed
wants to merge 1 commit into from
Closed

feat: add value for supplying an existing secret containing the JWT server keypair #67

wants to merge 1 commit into from

Conversation

Kuruyia
Copy link
Contributor

@Kuruyia Kuruyia commented Nov 24, 2023

This is pretty much #60 for the JWT keypair.

This time, the value added is jwtExistingSecret to allow providing an existing secret containing the jwt.key and jwt.pem keys.

Also, it might be good to think about how the jwtCreateKeysForced, jwtServerPublic/jwtServerPrivate and jwtExistingSecret values interact with each other, as they are (imho) mutually exclusive and should not be used together. Maybe display a message to the user and abort the install of the chart?
Same remark for gpgServerKeyPublic/gpgServerKeyPrivate vs. gpgExistingSecret.

@dlen
Copy link
Member

dlen commented Jan 9, 2024

Hello @Kuruyia sorry for the delay. Yeah we could think about a message to be added when jwtCreateKeysForced and jwtExistingSecret are used at the same time. This is what you are describing if I understood it correctly, right?

@Kuruyia
Copy link
Contributor Author

Kuruyia commented Jan 9, 2024

Hi, no problem ! Yep I was thinking about that.

@dlen
Copy link
Member

dlen commented Jan 9, 2024

We'll add the message in a separate release but it is a good idea indeed. This PR has been merged in 0.7.1 we accidentally squashed the PR, sorry about that.

In any case we really appreciate your contributions!! Thanks again!

@dlen dlen closed this Jan 9, 2024
@Kuruyia Kuruyia deleted the feat/existing-jwt-secret branch January 9, 2024 15:03
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

Successfully merging this pull request may close these issues.

2 participants