Skip to content

Malformed tooljet deployment yaml when redis is disabled #61

@sebaap

Description

@sebaap

This commit introduced an issue when redis is disabled because the {{- end }} is in the wrong line, which leaves a dangling

              valueFrom:
                secretKeyRef:
                  name: {{ include "tooljet.fullname" . }}-redis
                  key: password

that goes into the PGRST_JWT_SECRET here

When running helm install tooljet tooljet/tooljet with the default values (redis disabled), it throws:

Error: INSTALLATION FAILED: 1 error occurred:
   * Deployment.apps "tooljet" is invalid: spec.template.spec.containers[0].env[12].valueFrom: Invalid value: "": may not be specified when `value` is not empty

How to reproduce:

helm repo add tooljet https://tooljet.github.io/helm-charts
helm install tooljet tooljet/tooljet

Happy to submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions