-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add missing reserved annotation support to play #19208
Conversation
Can you splt these into two pull requests? |
Sure thing |
|
f05ebc0
to
8d5ffe6
Compare
--add-reserved
flag to generate
and play
b151915
to
fb62299
Compare
Should be --podman-only here? |
Yep, forgot to update the PR comment. The code should be |
Actually I am now thinking this should be automatic. No option needed or at least set --podman-only to true by default. If I have a json file that has advanced annotations, we should not make users figure out to use a special flag. |
It is automatic. I didn't add any flags to |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions for more reliable tests
Adds any required "wiring" to ensure the reserved annotations are supported by `podman kube play`. Addtionally fixes a bug where, when inspected, containers created using the `--publish-all` flag had a field `.HostConfig.PublishAllPorts` whose value was only evaluated as `false`. Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
fb62299
to
d7e25e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago, jakecorrenti, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
force merging so you don't have to rebase |
Adds any required "wiring" to ensure the reserved annotations are supported by
podman kube play
.Addtionally fixes a bug where, when inspected, containers created using the
--publish-all
flag had a field.HostConfig.PublishAllPorts
whose value was only evaluated asfalse
.Associated with: #19102
Adding reserved annotations with
kube generate
: #19211Does this PR introduce a user-facing change?