Accepting request 666726 from devel:kubic

OBS-URL: https://build.opensuse.org/request/show/666726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/podman?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2019-01-21 09:59:17 +00:00 committed by Git OBS Bridge
parent 206247e598
commit 05dc1ca9e5
3 changed files with 45 additions and 2 deletions

View File

@ -21,7 +21,10 @@ conmon_env_vars = [
] ]
# CGroup Manager - valid values are "systemd" and "cgroupfs" # CGroup Manager - valid values are "systemd" and "cgroupfs"
cgroup_manager = "cgroupfs" cgroup_manager = "systemd"
# Container init binary
init_path = "/usr/bin/catatonit"
# Directory for persistent libpod files (database, etc) # Directory for persistent libpod files (database, etc)
# By default, this will be configured relative to where containers/storage # By default, this will be configured relative to where containers/storage
@ -48,6 +51,15 @@ cni_plugin_dir = [
"/opt/cni/bin" "/opt/cni/bin"
] ]
# Default CNI network for libpod.
# If multiple CNI network configs are present, libpod will use the network with
# the name given here for containers unless explicitly overridden.
# The default here is set to the name we set in the
# 87-podman-bridge.conflist included in the repository.
# Not setting this, or setting it to the empty string, will use normal CNI
# precedence rules for selecting between multiple networks.
cni_default_network = "podman"
# Default libpod namespace # Default libpod namespace
# If libpod is joined to a namespace, it will see only containers and pods # If libpod is joined to a namespace, it will see only containers and pods
# that were created in the same namespace, and will create new containers and # that were created in the same namespace, and will create new containers and
@ -55,3 +67,20 @@ cni_plugin_dir = [
# The default namespace is "", which corresponds to no namespace. When no # The default namespace is "", which corresponds to no namespace. When no
# namespace is set, all containers and pods are visible. # namespace is set, all containers and pods are visible.
#namespace = "" #namespace = ""
## Default pause image name for pod pause containers
pause_image = "k8s.gcr.io/pause:3.1"
# Default command to run the pause container
pause_command = "/pause"
# Determines whether libpod will reserve ports on the host when they are
# forwarded to containers. When enabled, when ports are forwarded to containers,
# they are held open by conmon as long as the container is running, ensuring that
# they cannot be reused by other programs on the host. However, this can cause
# significant memory usage if a container has many ports forwarded to it.
# Disabling this can save memory.
#enable_port_reservation = true
# Default libpod support for container labeling
# label=true

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Jan 17 11:44:58 UTC 2019 - Jordi Massaguer <jmassaguerpla@suse.com>
- Update requirement to go1.11 to stay in sync with CaaSP4 and use the same
version as k8s and cri-o to prevent "weird" issues because of the go version
(we had problems mixing go1.5 and go1.6 in the past)
-------------------------------------------------------------------
Wed Jan 16 09:42:52 UTC 2019 - Richard Brown <rbrown@suse.com>
- Update libpod.conf to better align with upstream defaults [boo#1122024]
- Require catatonit for new --init flag
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 13 15:39:42 UTC 2019 - Richard Brown <rbrown@suse.com> Sun Jan 13 15:39:42 UTC 2019 - Richard Brown <rbrown@suse.com>

View File

@ -49,7 +49,7 @@ BuildRequires: libbtrfs-devel
BuildRequires: libcontainers-common BuildRequires: libcontainers-common
BuildRequires: libgpgme-devel BuildRequires: libgpgme-devel
BuildRequires: libseccomp-devel BuildRequires: libseccomp-devel
BuildRequires: golang(API) >= 1.10 BuildRequires: golang(API) >= 1.11
Requires: cni Requires: cni
Requires: cni-plugins Requires: cni-plugins
Requires: iptables Requires: iptables
@ -58,6 +58,7 @@ Requires: libcontainers-image
Requires: libcontainers-storage Requires: libcontainers-storage
Requires: runc >= 1.0.0~rc4 Requires: runc >= 1.0.0~rc4
Requires: slirp4netns Requires: slirp4netns
Requires: catatonit
Recommends: %{name}-cni-config = %{version} Recommends: %{name}-cni-config = %{version}
%{go_nostrip} %{go_nostrip}
%if 0%{?with_libostree} %if 0%{?with_libostree}