Fix amnezia exporter's config
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 7s
Auto-update README / Generate README and Create MR (push) Successful in 4s

This commit is contained in:
Ultradesu
2026-06-30 14:00:07 +03:00
parent b42ba8d68f
commit c31ca20fb0
2 changed files with 19 additions and 5 deletions
+12 -2
View File
@@ -8,7 +8,7 @@ metadata:
annotations:
reloader.stakater.com/auto: "false"
secret.reloader.stakater.com/reload: "amneziawg-server"
configmap.reloader.stakater.com/reload: "amneziawg-scripts"
configmap.reloader.stakater.com/reload: "amneziawg-scripts,amneziawg-exporter-redis"
spec:
selector:
matchLabels:
@@ -37,7 +37,9 @@ spec:
- |
set -euo pipefail
cp /usr/bin/awg /shared-bin/awg
chmod 0755 /shared-bin/awg
cp /lib/ld-musl-x86_64.so.1 /shared-bin/ld-musl-x86_64.so.1
cp /lib/ld-musl-x86_64.so.1 /shared-bin/libc.musl-x86_64.so.1
chmod 0755 /shared-bin/awg /shared-bin/ld-musl-x86_64.so.1 /shared-bin/libc.musl-x86_64.so.1
volumeMounts:
- name: awg-bin
mountPath: /shared-bin
@@ -248,6 +250,14 @@ spec:
mountPath: /usr/bin/awg
subPath: awg
readOnly: true
- name: awg-bin
mountPath: /lib/ld-musl-x86_64.so.1
subPath: ld-musl-x86_64.so.1
readOnly: true
- name: awg-bin
mountPath: /lib/libc.musl-x86_64.so.1
subPath: libc.musl-x86_64.so.1
readOnly: true
volumes:
- name: server-config
secret:
@@ -8,8 +8,8 @@ metadata:
component: exporter
data:
redis.conf: |
bind 0.0.0.0
protected-mode no
bind 127.0.0.1
protected-mode yes
port 6379
tcp-backlog 511
timeout 0
@@ -21,8 +21,12 @@ data:
databases 16
always-show-logo no
set-proc-title no
save 3600 1
save ""
appendonly no
stop-writes-on-bgsave-error no
rdbcompression yes
rdbchecksum yes
dir /data
rename-command CONFIG ""
rename-command SAVE ""
rename-command BGSAVE ""