Replies: 2 comments 4 replies
-
|
I was never a fan of allowing In this specific example of |
Beta Was this translation helpful? Give feedback.
-
|
#20966 added support for passing all flags existing in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
While working on the test for #20889, I found that I was unable to use images on a private registry on the
FROMline of the Containerfile.The reason was that the private registry created for the test (https://github.com/containers/podman/blob/main/test/system/helpers.registry.bash#L19) uses a self signed certificate and
kube playdid not pass the--tls-verify=falseto the build step (currently here: https://github.com/containers/podman/blob/main/pkg/domain/infra/abi/play.go#L1026, but may move a little).From what I was able to find, the solution is to set the
SystemContextfield of thebuildahDefine.BuildOptions(https://github.com/containers/podman/blob/main/vendor/github.com/containers/buildah/define/build.go#L211).podman builddoes it here (https://github.com/containers/podman/blob/main/cmd/podman/common/build.go#L411) by callingbuildahcode at thecmdlevel.Now the discussion
First, we need to decide whether
podman kube play --build=trueshould support this request? If not, then we should probably document in thekube playpage aboutbuildthat it is not supported.If yes, then we should first decide where should the values for the build come from. Should the come from the CLI argument or from the YAML file itself. The CLI already supports these arguments but they are used only for pulling the actual image, not for pulling an image to build upon.
@vrothberg @rhatdan WDYT?
Beta Was this translation helpful? Give feedback.
All reactions