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

invalid character 'i' looking for beginning of value. #24

Closed
GoSiddhartha opened this issue Jul 6, 2021 · 1 comment
Closed

invalid character 'i' looking for beginning of value. #24

GoSiddhartha opened this issue Jul 6, 2021 · 1 comment

Comments

@GoSiddhartha
Copy link

GoSiddhartha commented Jul 6, 2021

Getting the above issue when deploying nats connector to k8s cluster. installed openfaas with helm charts via argo cd. I am installing it in a custom namespace "mdp-poc"

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: nats-connector
    argocd.argoproj.io/instance: mdp-openfaas-poc
    component: nats-connector
  name: nats-connector
  namespace: mdp-poc
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nats-connector
      component: nats-connector
  template:
    metadata:
      labels:
        app: nats-connector
        component: nats-connector
    spec:
      containers:
        - env:
            - name: upstream_timeout
              value: 1m1s
            - name: gateway_url
              value: 'http://gateway.mdp-poc:8080'
            - name: topics
              value: 'prop_update,'
            - name: print_response
              value: 'true'
            - name: print_response_body
              value: 'true'
            - name: basic_auth
              value: 'true'
            - name: secret_mount_path
              value: /var/secrets/
            - name: topic_delimiter
              value: ','
            - name: asynchronous_invocation
              value: 'true'
          image: 'openfaas/nats-connector:0.2.2'
          name: nats-connector
          volumeMounts:
            - mountPath: /var/secrets/
              name: auth
              readOnly: true
      volumes:
        - name: auth
          secret:
            secretName: basic-auth

image

@alexellis
Copy link
Member

Hi @GoSiddhartha this error is due to a problem with authentication.

I would suggest that you start there and check your configuration is correct.

The NATS connector is working fine with a default configuration, so I'm going to close this issue.

We do provide commercial support, if that is of interest to you: https://openfaas.com/support/

Regards,

Alex

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

No branches or pull requests

2 participants