Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

schema: replace bool with *bool in types.Volume. #249

Merged
merged 1 commit into from
Mar 20, 2015

Conversation

yifan-gu
Copy link
Contributor

Fix rkt/rkt#615

By default the readOnly field in Volume is false, this will cause
an app container runtime to always override the image manifest's volume
mounts setting. Change it to *bool gives us the ability to ignore this
field in the container runtime manifest.

@jonboulle
Copy link
Contributor

Can you please add more context in the commit/PR message about why this is required? This shouldn't be (well, isn't) a Rocket-specific fix.

By default the `readOnly` field in Volume is `false`, this will cause
an app container runtime to always override the image manifest's volume
mounts setting. Change it to `*bool` gives us the ability to ignore this
field in the container runtime manifest.
@yifan-gu
Copy link
Contributor Author

Sorry :( How does that look now? @jonboulle

@jonboulle
Copy link
Contributor

@yifan-gu looks perfect! Thanks!

@jonboulle
Copy link
Contributor

LGTM

jonboulle added a commit that referenced this pull request Mar 20, 2015
schema: replace bool with *bool in types.Volume.
@jonboulle jonboulle merged commit 6ffc34e into appc:master Mar 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deal with readOnly in the --volume cmd line option.
2 participants