From 909178a753c8e58c7de19a39430576ae72b2040c Mon Sep 17 00:00:00 2001 From: Daryl White <53910321+djwfyi@users.noreply.github.com> Date: Mon, 18 Mar 2024 10:01:43 -0400 Subject: [PATCH] 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. --- .../minio-server/settings/notifications/redis.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/reference/minio-server/settings/notifications/redis.rst b/source/reference/minio-server/settings/notifications/redis.rst index b52bfeb3..6b17b6d3 100644 --- a/source/reference/minio-server/settings/notifications/redis.rst +++ b/source/reference/minio-server/settings/notifications/redis.rst @@ -37,13 +37,13 @@ For example, the following commands set two distinct Redis service endpoints as :class: copyable 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_FORMAT_PRIMARY="namespace" 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_FORMAT_SECONDARY="namespace" @@ -53,13 +53,13 @@ For example, the following commands set two distinct Redis service endpoints as .. code-block:: shell mc admin config set notify_redis:primary \ - address="https://redis-endpoint.example.net:9200" \ + address="redis-endpoint.example.net:9200" \ key="bucketevents" \ format="namespace" \ [ARGUMENT="VALUE"] ... \ mc admin config set notify_redis:secondary \ - address="https://redis-endpoint2.example.net:9200" \ + address="redis-endpoint2.example.net:9200" \ key="bucketevents" \ format="namespace" \ [ARGUMENT="VALUE"] ... @@ -133,7 +133,7 @@ Address :delimiter: " " 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 :start-after: start-notify-target-online-desc