feature/11-update_master_to_beta_release_commits #12

Merged
alexvanin merged 185 commits from r.loginov/distribution:feature/11-update_master_to_beta_release_commits into tcl/master 2024-08-19 12:13:20 +00:00
Showing only changes of commit 6d5911900a - Show all commits

View file

@ -241,6 +241,11 @@ notifications:
actions: actions:
- pull - pull
redis: redis:
tls:
certificate: /path/to/cert.crt
key: /path/to/key.pem
clientcas:
- /path/to/ca.pem
addrs: [localhost:6379] addrs: [localhost:6379]
password: asecret password: asecret
db: 0 db: 0
@ -959,12 +964,27 @@ how the registry connects to the `redis` instance.
You should configure Redis with the **allkeys-lru** eviction policy, because the You should configure Redis with the **allkeys-lru** eviction policy, because the
registry does not set an expiration value on keys. registry does not set an expiration value on keys.
Under the hood distribution uses [`go-redis`](https://redis.uptrace.dev/) for Under the hood distribution uses [`go-redis`](https://github.com/redis/go-redis) Go module for
redis connectivity and its [`UniversalOptions`](https://pkg.go.dev/github.com/redis/go-redis/v9#UniversalOptions) Redis connectivity and its [`UniversalOptions`](https://pkg.go.dev/github.com/redis/go-redis/v9#UniversalOptions)
struct. struct.
You can optionally specify TLS configuration on top of the `UniversalOptions` settings.
Use these settings to configure Redis TLS:
| Parameter | Required | Description |
|-----------|----------|-------------------------------------------------------|
| `certificate` | yes | Absolute path to the x509 certificate file. |
| `key` | yes | Absolute path to the x509 private key file. |
| `clientcas` | no | An array of absolute paths to x509 CA files. |
```yaml ```yaml
redis: redis:
tls:
certificate: /path/to/cert.crt
key: /path/to/key.pem
clientcas:
- /path/to/ca.pem
addrs: [localhost:6379] addrs: [localhost:6379]
password: asecret password: asecret
db: 0 db: 0