containers-common-1-9.el9

- make log_driver = "k8s-file" default in containers.conf
- Related: #2000051

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2021-11-02 19:45:24 +01:00
parent c7d7dcef4d
commit 9541f1b94f
3 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,7 @@
Epoch: 2
Name: containers-common
Version: 1
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Common configuration and documentation for containers
License: ASL 2.0
BuildArch: noarch
@ -161,6 +161,10 @@ EOF
%{_datadir}/rhel/secrets/*
%changelog
* Tue Nov 02 2021 Jindrich Novy <jnovy@redhat.com> - 2:1-9
- make log_driver = "k8s-file" default in containers.conf
- Related: #2000051
* Fri Oct 01 2021 Jindrich Novy <jnovy@redhat.com> - 2:1-8
- perform only sanity/installability tests for now
- Related: #2000051

View File

@ -153,6 +153,7 @@ default_sysctls = [
# Logging driver for the container. Available options: k8s-file and journald.
#
#log_driver = "k8s-file"
log_driver = "k8s-file"
# Maximum size allowed for the container log file. Negative numbers indicate
# that no size limit is imposed. If positive, it must be >= 8192 to match or

View File

@ -24,6 +24,7 @@ spectool -f -g containers-common.spec
ensure storage.conf driver \"overlay\"
ensure storage.conf mountopt \"nodev,metacopy=on\"
ensure containers.conf events_logger \"file\"
ensure containers.conf log_driver \"k8s-file\"
if pwd | grep rhel-8 > /dev/null
then
ensure registries.conf unqualified-search-registries [\"registry.fedoraproject.org\",\ \"registry.access.redhat.com\",\ \"registry.centos.org\",\ \"docker.io\"]