You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
policy-hub/charts/policy-hub/templates/secret-external-db.yaml
Line 27 in 5fdd788
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.
policy-hub/charts/policy-hub/values.yaml
Line 120 in 5fdd788
And add details of existing database in the externalDatabase here.
policy-hub/charts/policy-hub/values.yaml
Line 142 in 5fdd788
The text was updated successfully, but these errors were encountered: