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

--after option not working #64

Closed
ssnepenthe opened this issue Feb 26, 2024 · 0 comments · Fixed by #67
Closed

--after option not working #64

ssnepenthe opened this issue Feb 26, 2024 · 0 comments · Fixed by #67
Labels
bug Something isn't working
Milestone

Comments

@ssnepenthe
Copy link

The --after option does not appear to be working at the moment...

Running podman run quay.io/k9withabone/podlet --after db.service podman run someregistry.io/my/web:latest generates the following:

# web.container
[Unit]

[Container]
Image=someregistry.io/my/web:latest

Expected behavior is to see After=db.service in the unit section

Possibly related - let's try the --before option: podman run quay.io/k9withabone/podlet --before web.service podman run someregistry.io/my/db:latest:

# db.container
[Unit]
Before=web.service
After=

[Container]
Image=someregistry.io/my/db:latest

Empty after in the unit section is unexpected.

$ podman run quay.io/k9withabone/podlet --version
podlet 0.2.4
@k9withabone k9withabone added the bug Something isn't working label Feb 27, 2024
@k9withabone k9withabone added this to the v0.3.0 milestone Feb 27, 2024
k9withabone added a commit that referenced this issue Mar 19, 2024
Brings `Unit` inline with the other sections of
the generated quadlet file.

Fixes: #64
@k9withabone k9withabone linked a pull request Mar 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants