Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcontainer: expose annotations in hooks #1687

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

runcom
Copy link
Member

@runcom runcom commented Jan 11, 2018

Annotations weren't passed to hooks. This patch fixes that by passing
annotations to stdin for hooks.

Fix #1686

/cc @mrunalp @FlorianOtel

Signed-off-by: Antonio Murdaca runcom@redhat.com

@runcom
Copy link
Member Author

runcom commented Jan 11, 2018

test failure is #1682

Annotations weren't passed to hooks. This patch fixes that by passing
annotations to stdin for hooks.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
@runcom
Copy link
Member Author

runcom commented Jan 11, 2018

rebased to handle tests failure

@wking
Copy link
Contributor

wking commented Jan 11, 2018

I've filed spec backing for this approach in opencontainers/runtime-spec#946.

@cyphar
Copy link
Member

cyphar commented Jan 12, 2018

LGTM.

Approved with PullApprove

@runcom
Copy link
Member Author

runcom commented Jan 12, 2018

@mrunalp @crosbymichael PTAL

@mrunalp
Copy link
Contributor

mrunalp commented Jan 12, 2018

LGTM

Approved with PullApprove

@mrunalp mrunalp merged commit ab4a819 into opencontainers:master Jan 12, 2018
@runcom runcom deleted the annotations-hooks branch January 12, 2018 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Container "Annotations" cannot be read from stdin by (prestart) hook
4 participants