Skip to content

Error: invalid global options: mtls is enabled but no tls-ca-file is set #1

@conclusionlogic

Description

@conclusionlogic

Hello,

This operator project I think has great potential and while it's clearly stated that it's not yet production ready, I would really like to get at least something basic going with it.

For now what I've done is:

  1. cloned the git repo
  2. ran make deploy
  3. executed kubectl apply -f config/samples/mesh_v1_mesh.yaml

Cert-manager has created the certificates, but the bootsrap and lb Pods all crash with:
Error: invalid global options: mtls is enabled but no tls-ca-file is set

The config and certificate files appear to be mounted correctly into Mesh created Pods in the correct paths but something isn't quite right for the node app.
Since global.mtls value default to false then the following values must be read from the config file that are mounted from the ConfigMap:
"mtls":true,"tls-ca-file":"/etc/webmesh/tls/{{ env \"POD_NAME\" }}/ca.crt"
Perhaps there's an issue evaluating the moustache variable?

I fail to see what I'm missing here exactly or how to progress further...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions