Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
helm version is v2.9.1 and kubernetes version is 1.10.5-gke.0
Which chart:
Nats
What happened:
I installed the chart without editing any values but the pod is crashing with error
What you expected to happen:
pod to be in Running state
How to reproduce it (as minimally and precisely as possible):
helm install --name nats --namespace nats stable/nats
Anything else we need to know:
the logs of the crashing pod is
Parse error on line 29: 'Expected a map value terminator "," or a map terminator "}", but got 'd' instead.'
Usage: gnatsd [options]
Server Options:
-a, --addr <host> Bind to host address (default: 0.0.0.0)
-p, --port <port> Use port for clients (default: 4222)
-P, --pid <file> File to store PID
-m, --http_port <port> Use port for http monitoring
-ms,--https_port <port> Use port for https monitoring
-c, --config <file> Configuration file
-sl,--signal <signal>[=<pid>] Send signal to gnatsd process (stop, quit, reopen, reload)
--client_advertise <string> Client URL to advertise to other servers
Logging Options:
-l, --log <file> File to redirect log output
-T, --logtime Timestamp log entries (default: true)
-s, --syslog Log to syslog or windows event log
-r, --remote_syslog <addr> Syslog server addr (udp://localhost:514)
-D, --debug Enable debugging output
-V, --trace Trace the raw protocol
-DV Debug and trace
Authorization Options:
--user <user> User required for connections
--pass <password> Password required for connections
--auth <token> Authorization token required for connections
TLS Options:
--tls Enable TLS, do not verify clients (default: false)
--tlscert <file> Server certificate file
--tlskey <file> Private key for server certificate
--tlsverify Enable TLS, verify client certificates
--tlscacert <file> Client certificate CA for verification
Cluster Options:
--routes <rurl-1, rurl-2> Routes to solicit and connect
--cluster <cluster-url> Cluster URL for solicited routes
--no_advertise <bool> Advertise known cluster IPs to clients
--cluster_advertise <string> Cluster URL to advertise to other servers
--connect_retries <number> For implicit routes, number of connect retries
Common Options:
-h, --help Show this message
-v, --version Show version
--help_tls TLS help
This happened to me too. I did review the gnatsd.conf that exists on the configmap. I didn't catch any typos. I just deleted and recreated the chart.
Unfortunately, I never did check the actual faulty data. So, I'm not sure why this happened.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.
I just hit this. Looking at my config I'd say this is being caused by nats-io/gnatsd#494, my generated password indeed started with a number. Manually setting the password to be compliant allowed the application to be deployed
Most helpful comment
I just hit this. Looking at my config I'd say this is being caused by nats-io/gnatsd#494, my generated password indeed started with a number. Manually setting the password to be compliant allowed the application to be deployed