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 deployment Error #1117

Closed
panzerj opened this issue Mar 15, 2024 · 3 comments
Closed

Helm deployment Error #1117

panzerj opened this issue Mar 15, 2024 · 3 comments

Comments

@panzerj
Copy link

panzerj commented Mar 15, 2024

I want to deploy the alfresco-content-services helm chart. When I use kustomize everything works. But when I wrap It in an umbrella chart, define alfresco-content-services as a dependency and deploy using helm (with exactly the same values.yaml), i get the error:

Error: template: hmi-alfresco/charts/alfresco-content-services/templates/config-infrastructure.yaml:29:49: executing "hmi-alfresco/charts/alfresco-content-services/templates/config-infrastructure.yaml" at <include "alfresco-search-service.deployment.name" .>: error calling include: template: no template "alfresco-search-service.deployment.name" associated with template "gotpl"

test.zip

@pmacius
Copy link
Contributor

pmacius commented Mar 15, 2024

If you are declaring acs as a dependency you need to correctly adjust the values. See: https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#overriding-values-from-a-parent-chart
So your values would be like this:

alfresco-content-services:
  activemq:
    enabled: false

  messageBroker:
    # -- Enable using an external message broker for Alfresco Content Services. Must disable `activemq.enabled`.
    url: "failover:(nio://activemq:61616)?timeout=3000"

  alfresco-control-center:
    enabled: false
  .
  .
  .

I hope this helps.
edit:
I must warn you against nesting umbrella charts. This can lead to errors. I strongly advice you to see our acs-sso-example with guides

@panzerj
Copy link
Author

panzerj commented Mar 15, 2024

You are totally right .. how could I miss that!

@panzerj panzerj closed this as completed Mar 15, 2024
@alxgomz
Copy link
Contributor

alxgomz commented Mar 22, 2024

FYI we presented the organization of our charts and resources to help people building the chart they need: https://hub.alfresco.com/t5/news-announcements/tech-talk-live-156-slides-and-recording/ba-p/319705

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

No branches or pull requests

3 participants