Caching: Implement mtls-enabled memcached integration (#84171)

* fix merge

* fix conflicts

* updating generated feature toggle code

* Fix go mod owner

* fix merge

* add dependency

* fix dependencies

* workspace sync

* go get

* work sync

* trying something

* fix

* add docs for tls config

* work sync

* adjust go mod

* try something

* move import to the correct file

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
This commit is contained in:
lean.dev
2024-05-09 16:12:08 -03:00
committed by GitHub
parent 00684682d7
commit b009536329
10 changed files with 181 additions and 5 deletions

View File

@@ -180,7 +180,7 @@ Name of the TrueType font file with italic style.
### max_retries_per_panel
Maximum number of panel rendering request retries before returning an error. To disable the retry feature, enter `0`. This is available in public preview and requires the 'reportingRetries' feature toggle.
Maximum number of panel rendering request retries before returning an error. To disable the retry feature, enter `0`. This is available in public preview and requires the `reportingRetries` feature toggle.
## [auditing]
@@ -531,6 +531,34 @@ A space-separated list of memcached servers. Example: `memcached-server-1:11211
The default is `"localhost:11211"`.
{{% admonition type="note" %}}
The following memcached configuration requires the `tlsMemcached` feature toggle.
{{% /admonition %}}
### tls_enabled
Enables TLS authentication for memcached. Defaults to `false`.
### tls_cert_path
Path to the client certificate, which will be used for authenticating with the server. Also requires the key path to be configured.
### tls_key_path
Path to the key for the client certificate. Also requires the client certificate to be configured.
### tls_ca_path
Path to the CA certificates to validate the server certificate against. If not set, the host's root CA certificates are used.
### tls_server_name
Override the expected name on the server certificate.
### connection_timeout
Timeout for the memcached client to connect to memcached. Defaults to `0`, which uses the memcached client default timeout per connection scheme.
## [recorded_queries]
### enabled