-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get
podman play kube
in line with k8s specs and pre-v2.2 behaviour
More specifically, - use both `ENTRYPOINT` and `CMD` from image when neither `command` nor `args` have been supplied the pod spec, - use the `command` and only the `command` when `command` has been passed in the pod spec, ignoring both `ENTRYPOINT` and `CMD` from the image, - run the `ENTRYPOINT` from the image with `args` from the pod spec when only `args` have been passed and - override both when both `command` and `args` are present in the spec. Necessarily, - adapt pod tests to test the k8s spec documented at the k8s web-docs, - remove assertions already tested at pod level from deployments and - shift focus to replica count when testing deployments. In passing, - remove unnecessary `s.Command` initialization. Signed-off-by: Christopher J. Ruwe <[email protected]>
- Loading branch information
Showing
2 changed files
with
202 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters