Skip to content

[bug] Add hostname-override flag to root command to support overriding SNI hostname #593

@ruscon

Description

@ruscon

zed context

zed context set some-env localhost:50052 ${SPICEDB_TOKEN} --certificate-path ${TLS_CA_FILE_PATH} --hostname-override spicedb.spicedb.svc.cluster.local

port forwarded from k8s

zed schema read

6:09PM ERR retrying gRPC call error="rpc error: code = Unavailable desc = connection error: desc = \"transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate is valid for spicedb.spicedb.svc.cluster.local, *.spicedb.svc.cluster.local, not localhost\"" attempt=1

but
zed schema read --hostname-override spicedb.spicedb.svc.cluster.local
works ok.

Expect that zed schema read should work without --hostname-override

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething is broken or regressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions