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

TTK Helm - TLS config is not working #2860

Open
1 task
vijayg10 opened this issue Aug 9, 2022 · 0 comments
Open
1 task

TTK Helm - TLS config is not working #2860

vijayg10 opened this issue Aug 9, 2022 · 0 comments
Labels
bug Something isn't working or it has wrong behavior on a Mojaloop Core service core-dev-squad oss-ttk Related to the Mojaloop testing toolkit

Comments

@vijayg10
Copy link

vijayg10 commented Aug 9, 2022

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

@vijayg10 vijayg10 added bug Something isn't working or it has wrong behavior on a Mojaloop Core service oss-ttk Related to the Mojaloop testing toolkit labels Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or it has wrong behavior on a Mojaloop Core service core-dev-squad oss-ttk Related to the Mojaloop testing toolkit
Projects
None yet
Development

No branches or pull requests

2 participants