Joseph Gooch
0b1c1ef461
Implement --sdnotify cmdline option to control sd-notify behavior
...
--sdnotify container|conmon|ignore
With "conmon", we send the MAINPID, and clear the NOTIFY_SOCKET so the OCI
runtime doesn't pass it into the container. We also advertise "ready" when the
OCI runtime finishes to advertise the service as ready.
With "container", we send the MAINPID, and leave the NOTIFY_SOCKET so the OCI
runtime passes it into the container for initialization, and let the container advertise further metadata.
This is the default, which is closest to the behavior podman has done in the past.
The "ignore" option removes NOTIFY_SOCKET from the environment, so neither podman nor
any child processes will talk to systemd.
This removes the need for hardcoded CID and PID files in the command line, and
the PIDFile directive, as the pid is advertised directly through sd-notify.
Signed-off-by: Joseph Gooch <mrwizard@dok.org>
2020-07-06 17:47:18 +00:00
OpenShift Merge Robot
778f34a15c
Merge pull request #6859 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.14.0
...
Bump github.com/onsi/ginkgo from 1.13.0 to 1.14.0
2020-07-06 10:09:10 -04:00
OpenShift Merge Robot
a7ceed05a0
Merge pull request #6848 from TomSweeneyRedHat/dev/tsweeney/ib_v1.1.6_up
...
Bump imagebuilder to v1.1.6 in upstream
2020-07-06 06:21:08 -04:00
dependabot-preview[bot]
064bc32b1c
Bump github.com/onsi/ginkgo from 1.13.0 to 1.14.0
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v1.13.0...v1.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-06 06:17:39 -04:00
OpenShift Merge Robot
b9d48a95a1
Merge pull request #6820 from containers/dependabot/go_modules/k8s.io/api-0.18.5
...
Bump k8s.io/api from 0.18.4 to 0.18.5
2020-07-03 04:59:50 -04:00
TomSweeneyRedHat
a704911061
Bump imagebuilder to v1.1.6 in upstream
...
Bump the imagebuilder package to v1.1.6 in
the upstream branch.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-07-02 14:57:56 -04:00
dependabot-preview[bot]
c4248e62ca
Bump github.com/opentracing/opentracing-go from 1.1.0 to 1.2.0
...
Bumps [github.com/opentracing/opentracing-go](https://github.com/opentracing/opentracing-go ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/opentracing/opentracing-go/releases )
- [Changelog](https://github.com/opentracing/opentracing-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/opentracing/opentracing-go/compare/v1.1.0...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 06:40:04 -04:00
Daniel J Walsh
a622a30b0f
Bump k8s.io/api from 0.18.4 to 0.18.5
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.18.4 to 0.18.5.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.18.4...v0.18.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-01 11:16:40 -04:00
OpenShift Merge Robot
e84695213e
Merge pull request #6831 from containers/dependabot/go_modules/github.com/containers/common-0.15.1
...
Bump github.com/containers/common from 0.14.3 to 0.15.1
2020-07-01 10:17:52 -04:00
dependabot-preview[bot]
cd9d4f376d
Bump github.com/containers/common from 0.14.3 to 0.15.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.14.3 to 0.15.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.14.3...v0.15.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-01 06:34:45 -04:00
dependabot-preview[bot]
923e9befa6
Bump k8s.io/apimachinery from 0.18.4 to 0.18.5
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.18.4 to 0.18.5.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.18.4...v0.18.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-30 08:30:34 -04:00
Valentin Rothberg
e4dcb3e31c
vendor github.com/containers/common@v0.14.3
...
Includes several fixes for config parsing and AppArmor.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-25 17:53:49 +02:00
OpenShift Merge Robot
3eb0ad04a8
Merge pull request #6663 from containers/dependabot/go_modules/k8s.io/api-0.18.4
...
Bump k8s.io/api from 0.18.3 to 0.18.4
2020-06-18 08:34:16 -04:00
dependabot-preview[bot]
5d161c8ca5
Bump k8s.io/api from 0.18.3 to 0.18.4
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.18.3 to 0.18.4.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.18.3...v0.18.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-18 05:56:27 -04:00
dependabot-preview[bot]
16dbc160c5
Bump go.etcd.io/bbolt from 1.3.4 to 1.3.5
...
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.4...v1.3.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-18 05:55:55 -04:00
TomSweeneyRedHat
fde8040faa
Bump Buildah to v1.15.0
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-06-17 15:32:22 -04:00
Valentin Rothberg
ac4f4b1482
vendor github.com/containers/image/v5@v5.5.1
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-17 17:27:04 +02:00
Daniel J Walsh
713287ce36
Vendor containers/common v0.14.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-16 16:44:55 -04:00
dependabot-preview[bot]
51febc510a
Bump github.com/containers/conmon
...
Bumps [github.com/containers/conmon](https://github.com/containers/conmon ) from 2.0.17+incompatible to 2.0.18+incompatible.
- [Release notes](https://github.com/containers/conmon/releases )
- [Changelog](https://github.com/containers/conmon/blob/master/changelog.txt )
- [Commits](https://github.com/containers/conmon/compare/v2.0.17...v2.0.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-16 06:37:43 -04:00
OpenShift Merge Robot
298d622a0c
Merge pull request #6607 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.13.0
...
Bump github.com/onsi/ginkgo from 1.12.3 to 1.13.0
2020-06-15 10:39:58 -04:00
dependabot-preview[bot]
ea75042fb3
Bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.23.1+incompatible to 2.24.0+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases )
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.23.1...v2.24.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-15 08:36:04 -04:00
dependabot-preview[bot]
68eca3c19e
Bump github.com/onsi/ginkgo from 1.12.3 to 1.13.0
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.12.3 to 1.13.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v1.12.3...v1.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-15 08:35:25 -04:00
dependabot-preview[bot]
28f2cbe0c5
Bump github.com/containers/common from 0.13.0 to 0.13.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.13.0...v0.13.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-12 05:42:09 -04:00
OpenShift Merge Robot
b62e50f53b
Merge pull request #6256 from theunrealgeek/play_kube_deployment
...
Support k8s Deployment in play kube
2020-06-11 08:53:00 -04:00
OpenShift Merge Robot
fbe09d78e9
Merge pull request #6533 from containers/dependabot/go_modules/github.com/json-iterator/go-1.1.10
...
Bump github.com/json-iterator/go from 1.1.9 to 1.1.10
2020-06-09 17:47:47 +02:00
dependabot-preview[bot]
2df9edbd4f
Bump github.com/json-iterator/go from 1.1.9 to 1.1.10
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.9 to 1.1.10.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/v1.1.9...v1.1.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-09 10:24:03 -04:00
dependabot-preview[bot]
01c45698ca
Bump github.com/containers/common from 0.12.0 to 0.13.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.12.0...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-09 10:23:06 -04:00
dependabot-preview[bot]
edf733c3b6
Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-08 13:17:19 -04:00
dependabot-preview[bot]
1093b78833
Bump github.com/seccomp/containers-golang from 0.4.1 to 0.5.0
...
Bumps [github.com/seccomp/containers-golang](https://github.com/seccomp/containers-golang ) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/seccomp/containers-golang/releases )
- [Commits](https://github.com/seccomp/containers-golang/compare/v0.4.1...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-05 06:23:08 -04:00
OpenShift Merge Robot
08ce2c1b2f
Merge pull request #6404 from containers/dependabot/go_modules/github.com/containers/conmon-2.0.17incompatible
...
Bump github.com/containers/conmon from 2.0.16+incompatible to 2.0.17+incompatible
2020-06-04 14:16:53 +02:00
Daniel J Walsh
545aef7d9b
Vendor in container/storage v1.20.2
...
Also modify gate Dockerfile to take advantage of skipping
mounting of the storage directory.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-03 17:22:49 -04:00
Jhon Honce
cbca625328
V2 Add support for ssh authentication methods
...
* podman --remote ssh://<user>:<password>@<host>:<port><path>
* podman --remote ssh://<user>:<password>@<host>:<port><path> \
--identity <path> --passphrase <phrase>
* ssh-add <key>
podman --remote ssh://<user>@<host><path>
* Fix `podman help` to run even if podman missing components
* Prompt for passphrase on stdin IFF key is protected and passphrase
not given via any other configuration
* cobra flags do not support optional value flags therefore refactored
--remote to be a boolean and --url will now contain the URI to Podman
service
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-06-03 09:54:39 -07:00
theunrealgeek
ce7a9f0314
supporting k8s Deployment objects
...
Signed-off-by: Aditya Kamath <theunrealgeek@gmail.com>
2020-06-02 20:33:16 -07:00
OpenShift Merge Robot
d10addca6c
Merge pull request #6457 from rhatdan/psgo
...
Update vendor containers/psgo
2020-06-02 15:44:15 +02:00
OpenShift Merge Robot
2937151e37
Merge pull request #6445 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.12.3
...
Bump github.com/onsi/ginkgo from 1.12.2 to 1.12.3
2020-06-02 09:02:08 -04:00
OpenShift Merge Robot
eb488e760a
Merge pull request #6463 from containers/dependabot/go_modules/github.com/coreos/go-systemd/v22-22.1.0
...
Bump github.com/coreos/go-systemd/v22 from 22.0.0 to 22.1.0
2020-06-02 07:27:53 -04:00
Daniel J Walsh
02324b916a
Bump github.com/containers/conmon
...
Bumps [github.com/containers/conmon](https://github.com/containers/conmon ) from 2.0.16+incompatible to 2.0.17+incompatible.
- [Release notes](https://github.com/containers/conmon/releases )
- [Changelog](https://github.com/containers/conmon/blob/master/changelog.txt )
- [Commits](https://github.com/containers/conmon/compare/v2.0.16...v2.0.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 07:24:02 -04:00
dependabot-preview[bot]
288bb2e858
Bump github.com/onsi/ginkgo from 1.12.2 to 1.12.3
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.12.2 to 1.12.3.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v1.12.2...v1.12.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 07:22:54 -04:00
Daniel J Walsh
4157af8776
Update vendor containers/psgo
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 05:56:52 -04:00
dependabot-preview[bot]
23ff93d879
Bump github.com/opencontainers/runc from 1.0.0-rc9 to 1.0.0-rc90
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.0.0-rc9 to 1.0.0-rc90.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc9...v1.0.0-rc90 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 05:53:10 -04:00
dependabot-preview[bot]
bea4264ed3
Bump github.com/coreos/go-systemd/v22 from 22.0.0 to 22.1.0
...
Bumps [github.com/coreos/go-systemd/v22](https://github.com/coreos/go-systemd ) from 22.0.0 to 22.1.0.
- [Release notes](https://github.com/coreos/go-systemd/releases )
- [Commits](https://github.com/coreos/go-systemd/compare/v22.0.0...v22.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 05:52:35 -04:00
OpenShift Merge Robot
6d6a629db5
Merge pull request #6165 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.9.5
...
Bump github.com/rootless-containers/rootlesskit from 0.9.4 to 0.9.5
2020-05-30 05:09:30 -04:00
Valentin Rothberg
dc80267b59
compat handlers: add X-Registry-Auth header support
...
* Support the `X-Registry-Auth` http-request header.
* The content of the header is a base64 encoded JSON payload which can
either be a single auth config or a map of auth configs (user+pw or
token) with the corresponding registries being the keys. Vanilla
Docker, projectatomic Docker and the bindings are transparantly
supported.
* Add a hidden `--registries-conf` flag. Buildah exposes the same
flag, mostly for testing purposes.
* Do all credential parsing in the client (i.e., `cmd/podman`) pass
the username and password in the backend instead of unparsed
credentials.
* Add a `pkg/auth` which handles most of the heavy lifting.
* Go through the authentication-handling code of most commands, bindings
and endpoints. Migrate them to the new code and fix issues as seen.
A final evaluation and more tests is still required *after* this
change.
* The manifest-push endpoint is missing certain parameters and should
use the ABI function instead. Adding auth-support isn't really
possible without these parts working.
* The container commands and endpoints (i.e., create and run) have not
been changed yet. The APIs don't yet account for the authfile.
* Add authentication tests to `pkg/bindings`.
Fixes : #6384
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-29 15:39:37 +02:00
OpenShift Merge Robot
8e048b23fe
Merge pull request #6429 from containers/dependabot/go_modules/github.com/stretchr/testify-1.6.0
...
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2020-05-29 08:23:17 -04:00
dependabot-preview[bot]
ef807d0ac7
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-29 05:49:55 -04:00
Daniel J Walsh
911b6d8b48
Vendor in containers/common v0.12.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-28 16:58:53 -04:00
dependabot-preview[bot]
a08f3a745a
Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.5.1...v1.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-26 06:07:34 -04:00
Daniel J Walsh
935a716418
Vendor in latest containers/buildah
...
This will take a significant size away from the podman-remote executables.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-23 06:48:57 -04:00
Daniel J Walsh
cd001a3a9e
Bump github.com/rootless-containers/rootlesskit from 0.9.4 to 0.9.5
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](rootless-containers/rootlesskit@v0.9.4...v0.9.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-22 13:09:53 -04:00
dependabot-preview[bot]
f4833346e8
Bump github.com/containers/common from 0.11.2 to 0.11.4
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.11.2 to 0.11.4.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.11.2...v0.11.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-22 05:52:27 -04:00