add kubernetes-client to cloud-toolbox

This commit is contained in:
Maciej Lebiest 2023-12-19 21:30:26 +01:00
parent b091c4bc1f
commit 9a2ab1701c
2 changed files with 5 additions and 5 deletions

View file

@ -284,18 +284,19 @@ Pull=newer
ReadOnly=yes ReadOnly=yes
VolatileTmp=true VolatileTmp=true
SecurityLabelDisable=yes SecurityLabelDisable=yes
UserNS=host
Ulimit=host Ulimit=host
Unmask=ALL Unmask=ALL
AddCapability=SYS_ADMIN
AddCapability=SYS_RAWIO
AutoUpdate=registry AutoUpdate=registry
PodmanArgs=--pid=host PodmanArgs=--pid=host
PodmanArgs=--ipc=host PodmanArgs=--ipc=host
PodmanArgs=--no-hosts PodmanArgs=--no-hosts
PodmanArgs=--device-cgroup-rule='a *:* r'
Volume=/etc/zabbix/agent2.conf:/etc/zabbix/zabbix_agent2.conf:ro Volume=/etc/zabbix-agent2.conf:/etc/zabbix/zabbix_agent.conf:ro
Volume=/sys:/sys:ro
Volume=/dev:/dev:ro Volume=/dev:/dev:ro
Volume=/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:rw 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 Restart=always
[Install] [Install]
# Start by default on boot
WantedBy=multi-user.target default.target WantedBy=multi-user.target default.target
``` ```

View file

@ -6,7 +6,7 @@ ENV HISTSIZE=10000
ENV HISTTIMEFORMAT="%d/%m/%y %T " ENV HISTTIMEFORMAT="%d/%m/%y %T "
ENV HISTFILESIZE=20000 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" ENV PKGS_TEMP="python3-devel gcc wget"
RUN dnf clean all && \ RUN dnf clean all && \