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

config.yml file seg fault when passing value rapped in " " #17

Closed
gamkiller77 opened this issue Oct 19, 2016 · 2 comments
Closed

config.yml file seg fault when passing value rapped in " " #17

gamkiller77 opened this issue Oct 19, 2016 · 2 comments
Assignees
Labels

Comments

@gamkiller77
Copy link

I am using your contianer image in a Kubernetes / OpenShift 3.3 deployment. I gotten to work really well and wanted to rap it up as a PaaS offering. One item that is odd about k8s is that you can not just mount a config file but use configmap. This worked great and was able to get your container to work.

I then figured i make this in to a template. I setup the template but in the parameter section boolean and numbers base values have to ramped in " " or it fails validation. Well when these params are passed to the container as a configmap all the values are still ramped in " " and your app seg faults. Was not sure if there was a way to say " " rapped value is still valid.

@mtakaki
Copy link
Owner

mtakaki commented Oct 20, 2016

I'm sorry but I'm not quite following what's happening. I just tested it locally, having a value wrapped into double quotes ("), and it worked fine. So my configuration looks like this:

endpoint:
  url: http://localhost:8080/swagger
  method: GET
  timeout: 0.01
  expectation:
    - type: HTTP_STATUS
      status: 200
    - type: LATENCY
      threshold: 1
    - type: REGEX
      regex: '.*(<body).*'
cachet:
  api_url: https://demo.cachethq.io/api/v1
  token: my_token
  component_id: 1
  create_incident: "true"
frequency: 30

You can see that create_incident has "true" and it works with no problem. Could you please share the stack trace or the error you're exactly getting?

@mtakaki mtakaki self-assigned this Oct 20, 2016
@mtakaki
Copy link
Owner

mtakaki commented Oct 29, 2016

I haven't got any answer from you in 10 days. I'm going to close this issue and feel free to comment back here if it's still happening to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants