SaaShup / netbox-docker-plugin

Netbox Docker Plugin
https://saashup.com
BSD 3-Clause "New" or "Revised" License
64 stars 5 forks source link

:card_file_box: Add `read_only` field to `Mount` and `Bind` models #118

Closed linkdd closed 6 months ago

linkdd commented 6 months ago

Decision Record

Whether it is a Docker volume or a bind of a host path, mounts within a Docker container can be either "read only" or "read write".

Using "read only" allow the user to mount the same Docker volume or bind in multiple Docker containers.

Up until now, we were always mounting with "read write" permissions, therefore, for backward compatibility, the new field read_only shall be False by default.

Changes

github-actions[bot] commented 6 months ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2053 2019 98% 90%

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: f17c8fa by action🐍