From 9a2ab1701c8b7ca9a9c16e2e00a6e9ea6adde156 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Tue, 19 Dec 2023 21:30:26 +0100 Subject: [PATCH] add kubernetes-client to cloud-toolbox --- README.md | 8 ++++---- cloud-toolbox/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c9c8934..bcd2c57 100644 --- a/README.md +++ b/README.md @@ -284,18 +284,19 @@ Pull=newer ReadOnly=yes VolatileTmp=true SecurityLabelDisable=yes -UserNS=host Ulimit=host Unmask=ALL +AddCapability=SYS_ADMIN +AddCapability=SYS_RAWIO AutoUpdate=registry PodmanArgs=--pid=host PodmanArgs=--ipc=host PodmanArgs=--no-hosts +PodmanArgs=--device-cgroup-rule='a *:* r' -Volume=/etc/zabbix/agent2.conf:/etc/zabbix/zabbix_agent2.conf:ro -Volume=/sys:/sys:ro +Volume=/etc/zabbix-agent2.conf:/etc/zabbix/zabbix_agent.conf:ro Volume=/dev:/dev:ro Volume=/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:rw @@ -303,7 +304,6 @@ Volume=/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:rw Restart=always [Install] -# Start by default on boot WantedBy=multi-user.target default.target ``` diff --git a/cloud-toolbox/Dockerfile b/cloud-toolbox/Dockerfile index df6ccb2..133fb20 100644 --- a/cloud-toolbox/Dockerfile +++ b/cloud-toolbox/Dockerfile @@ -6,7 +6,7 @@ ENV HISTSIZE=10000 ENV HISTTIMEFORMAT="%d/%m/%y %T " ENV HISTFILESIZE=20000 -ENV PKGS_BASE="fzf git python3-pip rclone bash-completion" +ENV PKGS_BASE="fzf git python3-pip rclone bash-completion kubernetes-client" ENV PKGS_TEMP="python3-devel gcc wget" RUN dnf clean all && \