Skip to content

Commit

Permalink
Merge pull request #119 from redBorder/bug/#17038_minio_sync_ipaddress
Browse files Browse the repository at this point in the history
add ipaddress sync for minio
  • Loading branch information
malvads authored Apr 24, 2024
2 parents ca24e77 + 525a5c5 commit fbe56cf
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 fbe56cf

Please sign in to comment.