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

Helm chart deployment fails when using external database instead of postgres dependency installation #70

Closed
niteshsakhiya opened this issue Mar 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@niteshsakhiya
Copy link

Current Behavior

Helm chart deployment fails with the following error when using external database instead of postgres dependency.
Error: template: policy-hub/charts/policy-hub/templates/secret-external-db.yaml:27:8: executing "policy-hub/charts/policy-hub/templates/secret-external-db.yaml" at <include "portal.labels" .>: error calling include: template: no template "portal.labels" associated with template "gotpl"

Looks like "portal.labels" needs to be replaced by "phub.lables" in this helm template.

{{- include "portal.labels" . | nindent 4 }}

Expected Behavior

The helm deployment should work when postgres dependency installation is disabled and external database details are added.

Steps To Reproduce

Install the helm chart with the following helm values.

Disable the postgres dependency installation here.

And add details of existing database in the externalDatabase here.

externalDatabase:

@niteshsakhiya niteshsakhiya added the bug Something isn't working label Mar 19, 2024
@evegufy
Copy link
Contributor

evegufy commented Mar 27, 2024

Hi @niteshsakhiya thanks for reporting the issue, I noticed and fixed the issue last week #72, will be part of the next release

@evegufy evegufy self-assigned this Mar 27, 2024
@evegufy evegufy added this to the CX Release 24.05 milestone Mar 27, 2024
@evegufy evegufy added this to Portal Mar 27, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Mar 27, 2024
@evegufy evegufy moved this from NEW USER REQUEST to USER READY in Portal Mar 27, 2024
@niteshsakhiya
Copy link
Author

Hi @evegufy ,
Thanks for fixing the issue and providing the update.
I will close the issue.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants