Skip to content

Commit

Permalink
add ipaddress sync for minio
Browse files Browse the repository at this point in the history
  • Loading branch information
davidredborder committed Apr 21, 2024
1 parent ca24e77 commit 525a5c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@

# Allow only one s3 onpremise node for now.. TODO: Distributed MinIO
minio_config "Configure S3 (minio)" do
ipaddress node["ipaddress_sync"]
action ((manager_services["s3"] and external_services["s3"] == "onpremise" and s3_leader == node.name ) ? [:add, :register] : [:remove, :deregister])
end

Expand Down

0 comments on commit 525a5c5

Please sign in to comment.