e3ad92f85d
camelcase: fix lint reports
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-25 09:48:37 +01:00
ac8e6c9910
fork fatih/camelcase
...
faith/camelcase has been archived and is no longer maintained.
The package is sufficiently small and self-contained enough to
maintain it in libpod.
Fixes : #4783
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-25 09:42:48 +01:00
975854ad5c
Merge pull request #4966 from jwhonce/wip/filters
...
[CI:DOCS] Refactor time parsing to be more liberal in accepted values
2020-01-24 10:57:30 -08:00
9a2e275abd
Refactor time parsing to be more liberal in accepted values
...
* Added helper function to allow parsing from filters
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-01-24 10:11:05 -07:00
81e59a742b
Merge pull request #4958 from jwhonce/wip/filters
...
[CI:DOCS] Add query parameter converters for complex types
2020-01-24 06:56:55 -08:00
c49bc1f176
apparmor: allow receiving of signals from 'podman kill'
...
In newer kernels, AppArmor will reject attempts to send signals to a
container because the signal originated from outside of that AppArmor
profile. Correct this by allowing all unconfined signals to be received.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-24 15:34:47 +01:00
9634e7eef7
Add query parameter converters for complex types
...
* Add converter for URL query parameters of type map[string][]string
* Add converter for URL query parameters of type time.Time
* Added function to allocate and configure schema.Decoder for API use
* Updated API handlers to leverage new converters, and correct handler
code for filter type
An encoding example for a client using filters:
v := map[string][]string{
"dangling": {"true"},
}
payload, err := jsoniter.MarshalToString(v)
if err != nil {
panic(err)
}
payload = "?filters=" + url.QueryEscape(payload)
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-01-23 16:32:00 -07:00
5bad873c4c
Merge pull request #4953 from baude/reviewcorrections2
...
Review corrections pass #2
2020-01-23 11:12:36 -08:00
cf7be58b2c
Review corrections pass #2
...
Add API review comments to correct documentation and endpoints. Also, add a libpode prune method to reduce code duplication. Only used right now for the API but when the remote client is wired, we will switch over there too.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-01-23 11:58:26 -06:00
9d68ba5945
build(deps): bump gopkg.in/yaml.v2 from 2.2.7 to 2.2.8
...
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.7...v2.2.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 10:50:43 -05:00
8beeb067aa
Merge pull request #4948 from vrothberg/seccomp-label
...
seccomp policy: expect profile in config label
2020-01-23 07:31:11 -08:00
eb229d526c
Default CPUShares in Inspect are 1024
...
This is purely a display change - we weren't initializing the
default value to display for the CPUShares field, which defaults
to 1024.
Fixes #4822
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 09:46:11 -05:00
6518421f89
Merge pull request #4939 from containers/dependabot/go_modules/github.com/pkg/errors-0.9.1
...
build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1
2020-01-23 06:41:13 -08:00
2321a49195
Merge pull request #4949 from containers/dependabot/go_modules/github.com/containers/conmon-2.0.10+incompatible
...
build(deps): bump github.com/containers/conmon from 2.0.9+incompatible to 2.0.10+incompatible
2020-01-23 06:15:24 -08:00
f037f24b67
Merge pull request #4947 from containers/dependabot/go_modules/github.com/containers/storage-1.15.7
...
build(deps): bump github.com/containers/storage from 1.15.5 to 1.15.7
2020-01-23 06:15:18 -08:00
8098cbbee1
Merge pull request #4946 from containers/dependabot/go_modules/github.com/vishvananda/netlink-1.1.0
...
build(deps): bump github.com/vishvananda/netlink from 1.0.0 to 1.1.0
2020-01-23 06:15:11 -08:00
c5f3899cb4
Merge pull request #4943 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.22.1+incompatible
...
build(deps): bump github.com/uber/jaeger-client-go from 2.20.1+incompatible to 2.22.1+incompatible
2020-01-23 06:15:04 -08:00
4113e7152e
Merge pull request #4942 from containers/dependabot/go_modules/github.com/json-iterator/go-1.1.9
...
build(deps): bump github.com/json-iterator/go from 1.1.8 to 1.1.9
2020-01-23 06:14:58 -08:00
e6cf0ec857
Merge pull request #4945 from containers/dependabot/go_modules/github.com/containernetworking/plugins-0.8.5
...
build(deps): bump github.com/containernetworking/plugins from 0.8.2 to 0.8.5
2020-01-23 06:04:00 -08:00
91fb903b72
Merge pull request #4940 from containers/dependabot/go_modules/k8s.io/api-0.17.2
...
build(deps): bump k8s.io/api from 0.17.0 to 0.17.2
2020-01-23 06:03:53 -08:00
052bcfc80a
Merge pull request #4938 from openSUSE/latest-version
...
Update README.md to reference latest version
2020-01-23 05:39:08 -08:00
103b5e7807
markdown: fix grammar/formatting, standardize on markdown
...
While fixing grammar and list formatting issues, standardize on
markdown as follows:
- commands are marked by '**'
- files are marked by backquotes
- list items are marked with leading '-'
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-23 06:59:21 -05:00
c9eeecab89
build(deps): bump k8s.io/api from 0.17.0 to 0.17.2
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.17.0 to 0.17.2.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.17.0...v0.17.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:39:31 -05:00
88e340c451
build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1
...
Bumps [github.com/pkg/errors](https://github.com/pkg/errors ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases )
- [Commits](https://github.com/pkg/errors/compare/v0.9.0...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:35:39 -05:00
8151d7ae90
build(deps): bump github.com/containers/conmon
...
Bumps [github.com/containers/conmon](https://github.com/containers/conmon ) from 2.0.9+incompatible to 2.0.10+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.9...v2.0.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:22:52 -05:00
4f5d92f651
build(deps): bump github.com/json-iterator/go from 1.1.8 to 1.1.9
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/1.1.8...v1.1.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:18:23 -05:00
fd36a33dc3
build(deps): bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.20.1+incompatible to 2.22.1+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.20.1...v2.22.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:12:15 -05:00
49bd58e29a
build(deps): bump github.com/containernetworking/plugins
...
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins ) from 0.8.2 to 0.8.5.
- [Release notes](https://github.com/containernetworking/plugins/releases )
- [Commits](https://github.com/containernetworking/plugins/compare/v0.8.2...v0.8.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:07:24 -05:00
1531509542
seccomp policy: expect profile in config label
...
Move the seccomp profile from a manifest annotation to a config label.
This way, we can support it for Docker images as well and provide an
easy way to add that data via Dockerfiles.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-23 10:06:43 +01:00
9f927c4709
build(deps): bump github.com/vishvananda/netlink from 1.0.0 to 1.1.0
...
Bumps [github.com/vishvananda/netlink](https://github.com/vishvananda/netlink ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/vishvananda/netlink/releases )
- [Commits](https://github.com/vishvananda/netlink/compare/v1.0.0...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:00:57 -05:00
587a25fd8a
build(deps): bump github.com/containers/storage from 1.15.5 to 1.15.7
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.5 to 1.15.7.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.15.5...v1.15.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 03:49:20 -05:00
d780c0a23c
Update README.md to reference latest version
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-23 09:15:22 +01:00
ac3a6b80b0
Merge pull request #4936 from jwhonce/wip/swagger2
...
[CI:DOCS] Enable swagger validation for each PR
2020-01-22 17:43:57 -05:00
da1186ae63
Enable swagger validation for each PR
...
* Update swagger:operation's to pass validation
* 'name' path parameter now used throughout API
* Added #/response/ok for 200 returns, TBD values have been replaced
with legal values.
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-01-22 15:17:14 -07:00
71c38e8f2e
Fix example format in system df man
...
Fix the formatting of the examples in the
podman system df man page.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-01-22 16:59:21 -05:00
8b377a79c2
Merge pull request #4920 from openSUSE/cgroup2-super-magic
...
Use cgroupv2 super magic from golang.org/x/sys/unix
2020-01-22 15:54:32 -05:00
94b53a2d4a
Merge pull request #4929 from rpjday/docs/migrate
...
markdown: remove erroneous spaces after '**'
2020-01-22 15:40:46 -05:00
eed121548b
Merge pull request #4932 from lsm5/search-and-replace-correct
...
correct search-and-replace error
2020-01-22 15:23:32 -05:00
f1409dd548
Merge pull request #4930 from mheon/fix_release_script
...
Update release script to not manage epoch
2020-01-22 15:23:22 -05:00
c42383f70a
Merge pull request #4934 from rpjday/docs/markdown/exec
...
markdown: fix formatting of commands at bottom of podman-exec
2020-01-22 13:23:40 -05:00
c40664d698
Merge pull request #4912 from jwhonce/wip/swagger
...
[CI:DOCS] Update build images
2020-01-22 12:53:57 -05:00
9f146b1b54
Merge pull request #4861 from giuseppe/add-cgroups-disabled-conmon
...
oci_conmon: do not create a cgroup under systemd
2020-01-22 17:00:48 +01:00
1e82702ff5
markdown: fix formatting of commands at bottom of podman-exec
...
Current (lack of) formatting crunches first two lines together.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-22 10:57:16 -05:00
105a42a2a4
Merge pull request #4928 from mheon/release_notes_171
...
Update RELEASE_NOTES for v1.7.1
2020-01-22 16:29:29 +01:00
a78658a11a
markdown: reword 'podman-inspect' to properly explain '--size'
...
Reword the man page to clarify that the '--size' option displays
the container size in addition to the normal output.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-22 10:02:06 -05:00
7e1afe0e68
Merge pull request #4931 from rpjday/docs/rmi/backquotes
...
markdown: remove extraneous backquote from "podman rmi"
2020-01-22 15:55:07 +01:00
55abb6d3fa
Merge pull request #4911 from giuseppe/rootless-set-containers-env
...
rootless: set C variables also on shortcut
2020-01-22 14:39:49 +01:00
eef3d3240a
correct search-and-replace error
...
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-01-22 19:05:46 +05:30
554b8d2f2f
Update release script to not manage epoch
...
We removed the Gitvalidation epoch in the Makefile. As such, we
don't need to adjust it anymore when we tag releases.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-22 07:51:09 -05:00
fafa67e7b5
markdown: remove extraneous backquote from "podman rmi"
...
Extraneous backquote messes up rendering of "man podman-rmi".
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2020-01-22 07:50:48 -05:00