Skip to content

Support other TLS modes than mutual auth in Client #3062

@simonswine

Description

@simonswine

This is a follow-up on findings in PR #3030 (comment).

Currently we are only enabling TLS, if either a client certificate or a ca certificate is enabled: https://github.com/cortexproject/cortex/blob/master/pkg/util/tls/tls.go#L38

We should also support TLS without those flags, for example for

I propose:

  • Adding a flag tls-enable to manually enable TLS. The flag will be implicitly set to true by specifying any of the other TLS flags)
  • Add test coverage for those operational modes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions