Skip to content

Helm install is failing when the Team Broker API config is not provided #894

@ppawlowski

Description

@ppawlowski

Current Behavior

Helm chart installation fails if there is no .Values.forge.broker.teamBroker.api configuration provided.

Error: UPGRADE FAILED: template: flowfuse/templates/deployment.yaml:32:28: 
executing "flowfuse/templates/deployment.yaml" at <include (print $.Template.BasePath "/configmap.yaml") .>: 
error calling include: template: flowfuse/templates/configmap.yaml:229:25: 
executing "flowfuse/templates/configmap.yaml" at <.Values.forge.broker.teamBroker.api.key>: 
nil pointer evaluating interface {}.key

Expected Behavior

Since .Values.forge.broker.teamBroker.api is not a hard requirement to deploy the Team Broker, the chart installation should not fail if this key is missing.

Steps To Reproduce

No response

Environment

  • FlowFuse version:
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Linked Customers

  • Customer name and/or link to HubSpot contact

Metadata

Metadata

Assignees

Labels

needs-triageNeeds looking at to decide what to do

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions