Commit Graph

970 Commits

Author SHA1 Message Date
Tom Sweeney b0dff4761d Merge pull request #223 from ashley-cui/umask
Add support for Umask
2020-07-15 19:43:44 -04:00
Daniel J Walsh 3e3982860a Merge pull request #224 from QiWang19/default-cfg
Fix config reload race
2020-07-15 18:07:46 -04:00
Qi Wang bf0929d101 Fix config reload race
Fix the config reload race following the comments #219.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-07-15 18:06:09 -04:00
Tom Sweeney 10ec91928e Merge pull request #222 from jwhonce/wip/identity
Add support for multiple service destinations
2020-07-15 17:32:11 -04:00
Jhon Honce 4f496fde52 Add support for multiple service destinations
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-07-15 14:02:00 -07:00
Ashley Cui 93a6847b2d Add support for Umask
Signed-off-by: Ashley Cui <acui@redhat.com>
2020-07-15 13:59:29 -04:00
Daniel J Walsh adb7b07b73 Merge pull request #220 from containers/dependabot/go_modules/github.com/containers/storage-1.21.1
Bump github.com/containers/storage from 1.21.0 to 1.21.1
2020-07-15 13:56:25 -04:00
Tom Sweeney c333e7fff6 Merge pull request #219 from QiWang19/reload
Add config reload
2020-07-14 16:46:17 -04:00
Qi Wang 4c9e0ba4cd Add config reload
Add Reload() to reload configurations from containers.conf files.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-07-14 15:08:18 -04:00
dependabot-preview[bot] e667480c71 Bump github.com/containers/storage from 1.21.0 to 1.21.1
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.21.0 to 1.21.1.
- [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.21.0...v1.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-14 11:00:01 -04:00
Giuseppe Scrivano d6300be2bb rootless: permit custom configuration for cni
I am experimenting with supporting CNI in rootless Podman.  There is
no harm in preparing common to support such case and allow a custom
per-user configuration.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-07-14 15:43:59 +02:00
Daniel J Walsh d81c776fa7 Merge pull request #218 from containers/dependabot/go_modules/github.com/containers/storage-1.21.0
Bump github.com/containers/storage from 1.20.2 to 1.21.0
2020-07-11 07:36:24 -04:00
dependabot-preview[bot] 1f34f095cd Bump github.com/containers/storage from 1.20.2 to 1.21.0
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.20.2 to 1.21.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.20.2...v1.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-10 06:38:21 -04:00
Daniel J Walsh 67d806568e Merge pull request #217 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.6.0
Bump github.com/opencontainers/selinux from 1.5.2 to 1.6.0
2020-07-10 06:37:14 -04:00
dependabot-preview[bot] 408872dd0f Bump github.com/opencontainers/selinux from 1.5.2 to 1.6.0
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.5.2...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-08 06:45:15 -04:00
Daniel J Walsh 109bba52a4 Merge pull request #213 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 09:28:19 -04:00
dependabot-preview[bot] a75f220a6f 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:07:51 -04:00
Daniel J Walsh 845196921e Merge pull request #211 from rhatdan/pidslimit
Bump to v0.15.2
2020-07-02 14:32:17 -04:00
Daniel J Walsh 08da5e6f79 Move to v0.15.3-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 14:30:46 -04:00
Daniel J Walsh d8e815f25d Bump to v0.15.2
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 14:30:23 -04:00
Daniel J Walsh 6e78bb2c02 Merge pull request #210 from rhatdan/pidslimit
PidsLimit should return 0 if rootless and cgroupfs manager
2020-07-02 14:29:33 -04:00
Daniel J Walsh 17371297f1 PidsLimit should return 0 if rootless and cgroupfs manager
Only return the Pids Limit for container engines running as root or
with cgroupv2 and Systemd as a cgroup manager.

Trying to do this will rootless containers on cgroup V1 is not allowed.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 14:17:09 -04:00
Daniel J Walsh 7574609611 Merge pull request #207 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc91
Bump github.com/opencontainers/runc from 1.0.0-rc90 to 1.0.0-rc91
2020-07-02 07:58:53 -04:00
Daniel J Walsh bb40e5b412 Merge pull request #206 from TomSweeneyRedHat/dev/tsweeney/quayloop
Use a loop to go through repos in quay script
2020-07-02 06:24:26 -04:00
dependabot-preview[bot] 062447568d Bump github.com/opencontainers/runc from 1.0.0-rc90 to 1.0.0-rc91
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.0-rc90 to 1.0.0-rc91.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc90...v1.0.0-rc91)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 06:24:01 -04:00
TomSweeneyRedHat 2cf9a32da9 Use a loop to go through repos in quay script
While trying to run down an issue with cron, I releasized that the
only differences between the steps for the stable, testing and upstream
was the name of the repo.  So I put the builds of those three
flavors under a for loop and shrunk the script down quite a bit.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-07-01 20:14:55 -04:00
Daniel J Walsh f5b1e71e0c Merge pull request #205 from rhatdan/conf
Bump to v0.15.1
2020-06-30 20:34:39 -04:00
Daniel J Walsh d879960395 Move to v0.15.2-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-30 20:33:17 -04:00
Daniel J Walsh 0971eeff84 Bump to v0.15.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-30 20:33:17 -04:00
Daniel J Walsh 9c7d0b5a00 Merge pull request #204 from nalind/discard
readConfig(): don't return a pointer that's often ignored
2020-06-30 20:33:00 -04:00
Daniel J Walsh 4b024a0d26 Merge pull request #203 from QiWang19/version
Delete VERSION file
2020-06-30 20:31:27 -04:00
Qi Wang 8ef2073719 delete-version 2020-06-30 17:39:45 -04:00
Daniel J Walsh 2a3c5d78c7 Merge pull request #202 from rhatdan/conf
Bump to v0.15.0
2020-06-30 17:10:08 -04:00
Daniel J Walsh b622db3035 Move to v0.15.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-30 17:08:55 -04:00
Daniel J Walsh 9e04581c7d Bump to v0.15.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-30 17:08:27 -04:00
Daniel J Walsh 560bd489ae Merge pull request #200 from ashley-cui/master
Add support for timezone
2020-06-30 17:07:39 -04:00
Ashley Cui bf1b8b15b6 Add support for timezone
Signed-off-by: Ashley Cui <acui@redhat.com>
2020-06-30 15:07:49 -04:00
Nalin Dahyabhai d045e7f373 readConfig(): don't return a pointer
Remove the often-unused result value from readConfig().

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2020-06-30 15:02:39 -04:00
Daniel J Walsh 52060f3e46 Merge pull request #201 from QiWang19/engine-env-map
Specify container engine in comments of engine env
2020-06-30 13:03:14 -04:00
Qi Wang 3d8b92bdb2 Specify container engine in comments of engine env
Specify that the container engines are Podman, Buildah

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-06-30 11:59:46 -04:00
Valentin Rothberg cb7eb87dad Merge pull request #198 from QiWang19/engine-env
Add env to [engines] for engine to use
2020-06-30 12:14:48 +02:00
Daniel J Walsh 95ee4035ef Merge pull request #199 from rhatdan/conf
Fix location of stop_timeout in default containers.conf
2020-06-30 05:12:07 -04:00
Qi Wang 82a0ff9d5c Add container_engine_env for engine to use
Add container_env_var for setting envariables for engin to use.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-06-29 16:50:14 -04:00
Daniel J Walsh 58f0670c78 Fix location of stop_timeout in default containers.conf
stop_timeout has to be defined in the engine section not
the engine.runtimes section.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-29 13:41:56 -04:00
Daniel J Walsh 98cc227301 Merge pull request #182 from containers/dependabot/go_modules/github.com/containers/image/v5-5.5.1
Bump github.com/containers/image/v5 from 5.4.4 to 5.5.1
2020-06-25 08:13:06 -04:00
dependabot-preview[bot] 2f325c77c5 Bump github.com/containers/image/v5 from 5.4.4 to 5.5.1
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.4.4 to 5.5.1.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.4.4...v5.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-25 07:05:38 -04:00
Daniel J Walsh 5e1bdd498e Merge pull request #192 from rhatdan/remote
Remote
2020-06-25 07:05:00 -04:00
Daniel J Walsh dd0b47bedf Fix testing to not race on containers.conf
Looks like the Write test has to run last.  Not sure why this is
crashing but this fixes the issue.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-25 06:04:39 -04:00
Daniel J Walsh 5b1f87dcf5 Merge pull request #186 from rhatdan/race
Remove race condition on sync.Once
2020-06-24 09:14:50 -04:00
Daniel J Walsh 467bf8407a Remove race condition on sync.Once
We had a race condition where the sync.Once was called, and initializing
the default Config, but another thread hit it simultaniously and got the
nil value.
This patch will always return a correct value.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-24 08:52:44 -04:00