<p>Has anyone deployed a Neo4J graph DB or any stateful application to Kubernetes using Helm Charts? I have this task that requires me to deploy a Neo4J graph DB to Kubernetes.</p>

<p><strong>Issue</strong>: The Pod keeps on crashing as it cannot get the username provided, and throws the following logs even when the username is provided:
<em>Invalid username, it must be neo4j</em> when you run <strong>kubectl logs neo4j-chart-0</strong>  command. What am I doing wrong?</p>

<pre><code>command:
      - "/bin/bash"
      - "-c"
      - |
        export NEO4J_dbms_connectors_default__advertised__address=$(hostname -f)
        export NEO4J_causal__clustering_discovery__advertised__address=$(hostname -f):5000
        export NEO4J_causal__clustering_transaction__advertised__address=$(hostname -f):6000
        export NEO4J_causal__clustering_raft__advertised__address=$(hostname -f):7000

        if [ "${AUTH_ENABLED:-}" == "true" ]; then
          export NEO4J_AUTH=“neo4j/${NEO4J_SECRETS_PASSWORD}”
        else
          export NEO4J_AUTH=“none”
        fi

        exec /docker-entrypoint.sh "neo4j"
</code></pre>

Raff
<p>I found out I had mismatched quotes:</p>

<p><code>“neo4j/${NEO4J_SECRETS_PASSWORD}”</code> </p>

<p>Which is different from this <code>"neo4j/${NEO4J_SECRETS_PASSWORD"</code>.</p>
