Skip to content

Conversation

@rhatdan
Copy link
Member

@rhatdan rhatdan commented Nov 4, 2017

After Capabilities get merged, we need to switch to using opencontainers/runtime-tools/generate

@rhatdan rhatdan force-pushed the generate branch 2 times, most recently from 0f729e5 to 67c375c Compare November 4, 2017 11:25
@mheon
Copy link
Member

mheon commented Nov 4, 2017

No objection to moving to a library to do spec generation, though I think @baude should definitely look this over

cmd/kpod/spec.go Outdated
@@ -110,8 +126,20 @@ func createConfigToOCISpec(config *createConfig) (*spec.Spec, error) {
configSpec.Linux.Seccomp = &seccompConfig
}

configSpec.Process.Env = config.env
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the spec generation have a way to add environment and bind/tmpfs mounts? If so maybe we should add a TODO to convert to using that at some point. I don't think we need to migrate to it right away.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I will convert those over as well.

@rhatdan rhatdan changed the title [WIP] Remove defaults and use runtime-tools/generate for spec Remove defaults and use runtime-tools/generate for spec Nov 5, 2017
@baude
Copy link
Member

baude commented Nov 6, 2017

I looked it over this weekend, LGTM.

@baude
Copy link
Member

baude commented Nov 6, 2017

@rh-atomic-bot r+ 32ec389

@rh-atomic-bot
Copy link
Collaborator

⚡ Test exempted: pull fully rebased and already tested.

rh-atomic-bot pushed a commit that referenced this pull request Nov 6, 2017
Signed-off-by: Daniel J Walsh <[email protected]>

Closes: #19
Approved by: baude
jwhonce referenced this pull request in jwhonce/podman Nov 14, 2019
openshift-merge-robot added a commit that referenced this pull request Dec 14, 2019
troubleshooting.md: added #19 not enough ids
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants