mirror of
https://github.com/plankanban/planka.git
synced 2026-03-01 11:21:46 +03:00
[PR #751] [MERGED] Enable ability for DBURI to be an existing secret #1091
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/751
Author: @justmitch123
Created: 5/10/2024
Status: ✅ Merged
Merged: 5/13/2024
Merged by: @meltyshev
Base:
master← Head:Allow_DB_URI_Secret_Helm📝 Commits (1)
6fee0b6Enable ability for DBURI to be an existing secret📊 Changes
2 files changed (+16 additions, -2 deletions)
View changed files
📝
charts/planka/templates/deployment.yaml(+9 -1)📝
charts/planka/values.yaml(+7 -1)📄 Description
Hey,
This is hopefully a nice and simple PR. This resolves https://github.com/plankanban/planka/issues/750 by adding an
existingDburlSecretfield to replace thedburlif provided to securely pass the connection string into the environment.I am not quite sure if i am happy with the naming of the variables etc in the top level but it was the closest I could come up with to match similar https://github.com/plankanban/planka/blob/master/charts/planka/values.yaml#L154 values.
I feel like it might work nicer to nest this parameter within the
postgresobject for consistency but either option works for my use case.I have a helm playground here that tests out the proposed changes
Let me know if you have any question or you would like me to make any other modifications to the PR.
If these changes are approved & successful, I am keen to start moving some of the other env variables out to secrets - i.e
DEFAULT_ADMIN_PASSWORD&SECRET_KEY. The main use case for this is that we will have developers that have access to view pod definitions etc, but we restrict decryption of secrets🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.