IPCEICIS-2952 #31

Merged
Michal.Wrobel merged 113 commits from IPCEICIS-2952 into development 2025-05-28 10:30:56 +00:00
2 changed files with 2 additions and 9 deletions
Showing only changes of commit fc6ee8bcae - Show all commits

View file

@ -21,13 +21,6 @@ spec:
set -e set -e
mkdir -p /var/log/openbao mkdir -p /var/log/openbao
chown 100:100 /var/log/openbao chown 100:100 /var/log/openbao
chmod o+rwx /etc/passwd
chmod o+rwx /etc/group
chmod o+rwx /var/log/openbao
echo "logrotate:x:100:100::/home/logrotate:/bin/sh" >> /etc/passwd
echo "logrotate:x:100:" >> /etc/group
mkdir -p /home/logrotate
# chown 100:100 /var/lib
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
volumeMounts: volumeMounts:

View file

@ -5,7 +5,7 @@ metadata:
data: data:
logrotate.conf: | logrotate.conf: |
Review

might be nice to make it configurable via helm

might be nice to make it configurable via helm
Review

I think this might be a good idea. My only concern is that all of the other ConfigMap definitions in our product are hardcoded and this would make it not consistent.

I think this might be a good idea. My only concern is that all of the other ConfigMap definitions in our product are hardcoded and this would make it not consistent.
/openbao/logs/openbao/*.log { /openbao/logs/openbao/*.log {
size 100M size 1M
rotate 7 rotate 7
compress compress
delaycompress delaycompress