Commit Graph

970 Commits

Author SHA1 Message Date
Daniel J Walsh 36ef32d27d Move EnforceRange and HasTable out of Podman and into common
These functions were in podman but used with the report template.
They need to be used with Buildah secrets, so moving into common.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-16 14:59:19 -05:00
OpenShift Merge Robot 7b95573fdd Merge pull request #452 from containers/dependabot/go_modules/github.com/spf13/cobra-1.1.3
Bump github.com/spf13/cobra from 1.1.2 to 1.1.3
2021-02-12 20:59:57 -05:00
dependabot-preview[bot] 81446f1cb1 Bump github.com/spf13/cobra from 1.1.2 to 1.1.3
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.2...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-02-12 11:37:30 +01:00
OpenShift Merge Robot f8a2c7c90a Merge pull request #449 from containers/dependabot/go_modules/github.com/spf13/cobra-1.1.2
Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
2021-02-11 12:16:00 -05:00
OpenShift Merge Robot aa13bee0a2 Merge pull request #448 from containers/dependabot/go_modules/github.com/containers/image/v5-5.10.2
Bump github.com/containers/image/v5 from 5.10.1 to 5.10.2
2021-02-11 12:14:58 -05:00
dependabot-preview[bot] e4a81b18ae Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-10 10:32:26 -05:00
dependabot-preview[bot] cd503c544e Bump github.com/containers/image/v5 from 5.10.1 to 5.10.2
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.10.1 to 5.10.2.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.10.1...v5.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-10 10:31:35 -05:00
OpenShift Merge Robot 2d45b69cd7 Merge pull request #446 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc93
Bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-rc93
2021-02-10 10:29:38 -05:00
OpenShift Merge Robot 349cf9be11 Merge pull request #447 from rhatdan/man
Add missing values to containers.conf man page
2021-02-09 15:00:14 -05:00
Daniel J Walsh cfcb868490 Add missing values to containers.conf man bpage
Fix some alphabetic sorting.

Add missing default_network setting to containers.conf

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-09 14:17:48 -05:00
Daniel J Walsh c18f0fa0cf Merge branch 'master' of github.com:containers/common into dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc93
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-09 07:15:05 -05:00
OpenShift Merge Robot 4e06dbc005 Merge pull request #445 from pacoxu/default-pause-image/update
update pause image to 3.4.1
2021-02-08 11:30:19 -05:00
OpenShift Merge Robot 187513484c Merge pull request #444 from vrothberg/revert-runc
Revert "Bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-…
2021-02-08 06:57:08 -05:00
pacoxu 6e9f831375 update pause image to 3.4.1 2021-02-08 14:25:28 +08:00
Valentin Rothberg f2537f0a33 Revert "Bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-rc93"
This reverts commit fc61280ca0.

The bump of the gocapability package is causing regressions in Podman.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-02-06 13:01:04 +01:00
Daniel J Walsh 690f3ddfda Merge pull request #442 from rhatdan/VERSION
Bump to version v0.34.2
2021-02-05 15:39:05 -05:00
Daniel J Walsh 85af333d42 Move to v0.34.3-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-05 15:38:01 -05:00
Daniel J Walsh 572d57b149 Bump to v0.34.2
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-05 15:37:49 -05:00
Daniel J Walsh 02d1f87ae1 Merge pull request #441 from vrothberg/journald
Revert "Change default log driver to journald"
2021-02-05 15:36:26 -05:00
Valentin Rothberg 592498d52b Revert "Change default log driver to journald"
This reverts commit 451f5fb68b.

Journald is not yet passing Podman CI.  We need to temporarily revert
the commit to unblock secrets work.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-02-05 21:28:22 +01:00
OpenShift Merge Robot 16608cd263 Merge pull request #437 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc93
Bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-rc93
2021-02-05 12:03:35 -05:00
Daniel J Walsh ffa14a5ffd Merge pull request #440 from rhatdan/VERSION
Bump to v0.34.1
2021-02-05 12:00:46 -05:00
Daniel J Walsh c80cbef3e3 Move to v0.34.2-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-05 11:59:36 -05:00
Daniel J Walsh 7880eab3ca Bump to v0.34.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-05 11:59:14 -05:00
dependabot-preview[bot] fc61280ca0 Bump github.com/opencontainers/runc from 1.0.0-rc91 to 1.0.0-rc93
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.0-rc91 to 1.0.0-rc93.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc91...v1.0.0-rc93)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-05 06:53:46 -05:00
OpenShift Merge Robot 79039dd24e Merge pull request #438 from jwhonce/issues/8773
Updated report.template to be more compatible
2021-02-05 06:52:46 -05:00
Jhon Honce df0bf9adef Updated report.template to handle newlines
Previous code and tests did not reflect actual users input and expected
output.

Add remaining compatibilty golang template funcs

- json
- pad
- truncate

https://bugzilla.redhat.com/show_bug.cgi?id=1922077
Fixes #8702

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2021-02-04 14:13:44 -07:00
OpenShift Merge Robot f118741788 Merge pull request #434 from containers/dependabot/go_modules/github.com/containers/storage-1.25.0
Bump github.com/containers/storage from 1.24.5 to 1.25.0
2021-02-04 15:28:45 -05:00
dependabot-preview[bot] 4ab2941105 Bump github.com/containers/storage from 1.24.5 to 1.25.0
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.24.5 to 1.25.0.
- [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.24.5...v1.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-04 05:09:54 -05:00
OpenShift Merge Robot 777f6b7f61 Merge pull request #432 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.15.0
Bump github.com/onsi/ginkgo from 1.14.2 to 1.15.0
2021-02-03 09:51:43 -05:00
Daniel J Walsh 54a7f71e17 Bump github.com/onsi/ginkgo from 1.14.2 to 1.15.0
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.14.2 to 1.15.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.14.2...v1.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-03 06:29:02 -05:00
OpenShift Merge Robot 8b73d0e178 Merge pull request #431 from containers/dependabot/go_modules/github.com/onsi/gomega-1.10.5
Bump github.com/onsi/gomega from 1.10.4 to 1.10.5
2021-02-02 09:39:51 -05:00
dependabot-preview[bot] f3cccebace Bump github.com/onsi/gomega from 1.10.4 to 1.10.5
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.10.4...v1.10.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-02 06:12:56 -05:00
Daniel J Walsh 3c89b4584b Merge pull request #428 from rhatdan/VENDOR
Bump to v0.34.0
2021-02-01 13:17:04 -05:00
Daniel J Walsh 083b14e0c4 Move to v0.34.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-01 11:10:05 -05:00
Daniel J Walsh 5c355211bc Bump to v0.34.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-01 11:09:43 -05:00
OpenShift Merge Robot ef8db8fbb2 Merge pull request #424 from rhatdan/format
Add image_default_format
2021-02-01 11:06:42 -05:00
Daniel J Walsh 0f802d0065 Add image_default_format
Currently when pulling/pushing images we default to the format
of the source image.  When Building images we default to OCI.

Customers have asked us to allow them to force a specific image
type when pushing to a registry.

We already have a flag to building images.

This PR adds image_default_format to define the format to be used
by all tools create/building/pulling and pusing images.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-01 06:38:50 -05:00
OpenShift Merge Robot c4e3a67c88 Merge pull request #427 from rhatdan/journald
Change default log driver to journald
2021-02-01 06:37:54 -05:00
OpenShift Merge Robot 81ee30d1ad Merge pull request #426 from jwhonce/issues/8773
Add compatible template functions
2021-02-01 05:42:52 -05:00
Daniel J Walsh 451f5fb68b Change default log driver to journald
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-30 07:57:07 -05:00
Jhon Honce 89c438e1ea Add compatible template functions
"join":  strings.Join,
  "lower": strings.ToLower,
  "split": strings.Split,
  "title": strings.Title,
  "upper": strings.ToUpper,

Add and update tests to exercise these additions.
Update go doc with details of usage.

Fixes #8773
Closes https://bugzilla.redhat.com/show_bug.cgi?id=1915383

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2021-01-29 14:07:19 -07:00
OpenShift Merge Robot f35a6db1d0 Merge pull request #420 from EduardoVega/add-U-volume-flag
Add U volume flag to chown source volumes
2021-01-29 14:08:18 -05:00
Eduardo Vega f78dc39440 Add U volume flag and chown pkg
Signed-off-by: Eduardo Vega <edvegavalerio@gmail.com>
2021-01-29 10:57:49 -06:00
OpenShift Merge Robot 5985c400ca Merge pull request #425 from containers/dependabot/go_modules/github.com/containers/image/v5-5.10.1
Bump github.com/containers/image/v5 from 5.10.0 to 5.10.1
2021-01-29 09:18:48 -05:00
dependabot-preview[bot] 175d0da52e Bump github.com/containers/image/v5 from 5.10.0 to 5.10.1
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.10.0...v5.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-29 07:55:26 -05:00
OpenShift Merge Robot 416fc4fa4e Merge pull request #421 from cyphar/seccomp-update
seccomp: various updates
2021-01-28 15:14:26 -05:00
OpenShift Merge Robot 629d05bbae Merge pull request #422 from giuseppe/check-ownership-xdg-runtime-dir
pkg: check ownership for XDG_RUNTIME_DIR
2021-01-28 14:02:30 -05:00
OpenShift Merge Robot 412704514c Merge pull request #423 from containers/dependabot/go_modules/github.com/containers/image/v5-5.10.0
Bump github.com/containers/image/v5 from 5.9.0 to 5.10.0
2021-01-28 14:01:32 -05:00
dependabot-preview[bot] 5a42e777e5 Bump github.com/containers/image/v5 from 5.9.0 to 5.10.0
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.9.0...v5.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-01-28 11:53:10 +01:00