Skip to content

TTK Helm - TLS config is not working #2860

@vijayg10

Description

@vijayg10

Summary:
When I specify TLS configuration in helm values file while trying to install TTK helm chart, I am getting the following error.

Error: YAML parse error on mojaloop-payment-manager/charts/ttk/charts/ml-testing-toolkit-backend/templates/ingress.yaml: error converting YAML to JSON: yaml: line 38: did not find expected key

This issue is happening for both TTK backend and frontend.

Observations:
This can be fixed by changing the following line in the ingress.yaml file of both frontend and backend.

  tls:
    {{ toYaml .Values.ingress.tls | indent 4 }}

to

  tls:
    {{ toYaml .Values.ingress.tls | nindent 4 }}

Severity:
High

Expected Behavior
TTK should be deployed even if we specify ingress.tls config parameter in the values file.

Steps to Reproduce

  1. Provide the following config in the values file
ml-testing-toolkit-backend:
ingress:
  tls:
    - secretName: chart-example-tls
      hosts:
        - chart-example.local
  1. Try in deploy TTK helm chart using the values file

Specifications

  • Component (if known): TTK Helm chart
  • Version: v15.0.0
  • Bug found/raised by: @vijayg10

Pull Requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working or it has wrong behavior on a Mojaloop Core servicecore-dev-squadoss-ttkRelated to the Mojaloop testing toolkittest-bugThis is a bug in tests or test automation framework, not a code or functionality issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions