1
0
mirror of https://github.com/minio/docs.git synced 2025-07-31 18:04:52 +03:00

Correcting envvar address for redis (#1161)

Corrects the documentation per
https://github.com/minio/minio/issues/19284.
The address should not have the `user:password` as part of it.

This matches the envvar setting for address to what we already had for
the config setting.
This commit is contained in:
Daryl White
2024-03-18 10:01:43 -04:00
committed by GitHub
parent 3a52f00cb7
commit 909178a753

View File

@ -37,13 +37,13 @@ For example, the following commands set two distinct Redis service endpoints as
:class: copyable :class: copyable
set MINIO_NOTIFY_REDIS_ENABLE_PRIMARY="on" set MINIO_NOTIFY_REDIS_ENABLE_PRIMARY="on"
set MINIO_NOTIFY_REDIS_REDIS_ADDRESS_PRIMARY="https://user:password@redis-endpoint.example.net:9200" set MINIO_NOTIFY_REDIS_REDIS_ADDRESS_PRIMARY="redis-endpoint.example.net:9200"
set MINIO_NOTIFY_REDIS_KEY_PRIMARY="bucketevents" set MINIO_NOTIFY_REDIS_KEY_PRIMARY="bucketevents"
set MINIO_NOTIFY_REDIS_FORMAT_PRIMARY="namespace" set MINIO_NOTIFY_REDIS_FORMAT_PRIMARY="namespace"
set MINIO_NOTIFY_REDIS_ENABLE_SECONDARY="on" set MINIO_NOTIFY_REDIS_ENABLE_SECONDARY="on"
set MINIO_NOTIFY_REDIS_REDIS_ADDRESS_SECONDARY="https://user:password@redis-endpoint2.example.net:9200" set MINIO_NOTIFY_REDIS_REDIS_ADDRESS_SECONDARY="redis-endpoint2.example.net:9200"
set MINIO_NOTIFY_REDIS_KEY_SECONDARY="bucketevents" set MINIO_NOTIFY_REDIS_KEY_SECONDARY="bucketevents"
set MINIO_NOTIFY_REDIS_FORMAT_SECONDARY="namespace" set MINIO_NOTIFY_REDIS_FORMAT_SECONDARY="namespace"
@ -53,13 +53,13 @@ For example, the following commands set two distinct Redis service endpoints as
.. code-block:: shell .. code-block:: shell
mc admin config set notify_redis:primary \ mc admin config set notify_redis:primary \
address="https://redis-endpoint.example.net:9200" \ address="redis-endpoint.example.net:9200" \
key="bucketevents" \ key="bucketevents" \
format="namespace" \ format="namespace" \
[ARGUMENT="VALUE"] ... \ [ARGUMENT="VALUE"] ... \
mc admin config set notify_redis:secondary \ mc admin config set notify_redis:secondary \
address="https://redis-endpoint2.example.net:9200" \ address="redis-endpoint2.example.net:9200" \
key="bucketevents" \ key="bucketevents" \
format="namespace" \ format="namespace" \
[ARGUMENT="VALUE"] ... [ARGUMENT="VALUE"] ...
@ -133,7 +133,7 @@ Address
:delimiter: " " :delimiter: " "
Specify the Redis service endpoint to which MinIO publishes bucket events. Specify the Redis service endpoint to which MinIO publishes bucket events.
For example, ``https://redis.example.com:6369``. For example, ``redis.example.com:6369``.
.. include:: /includes/linux/minio-server.rst .. include:: /includes/linux/minio-server.rst
:start-after: start-notify-target-online-desc :start-after: start-notify-target-online-desc