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

[bitnami/discourse] Support envFrom in install-plugins #32790

Merged

Conversation

mskdenigma
Copy link
Contributor

Description of the change

This allows the initContainer install-plugins to use environment variables set via ConfigMap or Secret.

Benefits

Sometimes you need to install discourse plugins from private github repositories and you can do so normally by passing your github personal access token in the url of this plugin repo like this:

https://${GITHUBPAT}@github.com/myprivateorg/discourseplugin

That definitely something you'd want to pass as a secret.

Possible drawbacks

Maybe by using .Values.discourse.extraEnvVarsCM and .Values.discourse.extraEnvVarsSecret we are passing unnecessary env vars but I also don't see the harm. We could also add Values.install-plugins.* instead.

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

…ontainer

Signed-off-by: Emir Aurelio Rios <mskdenigma@gmail.com>
Signed-off-by: Emir Aurelio Rios <mskdenigma@gmail.com>
@github-actions github-actions bot added discourse triage Triage is needed labels Apr 3, 2025
@github-actions github-actions bot requested a review from javsalgar April 3, 2025 05:16
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
@javsalgar javsalgar added verify Execute verification workflow for these changes in-progress labels Apr 7, 2025
@github-actions github-actions bot removed the triage Triage is needed label Apr 7, 2025
@github-actions github-actions bot removed the request for review from javsalgar April 7, 2025 09:59
@github-actions github-actions bot requested a review from dgomezleon April 7, 2025 09:59
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Copy link
Member

@dgomezleon dgomezleon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for contributing!

@dgomezleon dgomezleon enabled auto-merge (squash) April 7, 2025 11:38
@dgomezleon dgomezleon merged commit 7345c0b into bitnami:main Apr 7, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discourse solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants