IRC: add cloak_sha256 module, fix Anope mount paths (/anope/conf + /anope/data)

This commit is contained in:
root
2026-03-09 17:19:38 -05:00
parent f0198c2c65
commit 5eaffdb2ef

View File

@@ -39,6 +39,8 @@ stringData:
include "operclass.default.conf";
include "snomasks.default.conf";
loadmodule "cloak_sha256";
me {
name "irc.iamworkin.lan";
info "BlueJay Lab IRC Server";
@@ -184,8 +186,8 @@ stringData:
serverinfo {
name = "services.iamworkin.lan"
description = "BlueJay IRC Services"
pid = "/data/services.pid"
motd = "/data/services.motd"
pid = "/anope/data/services.pid"
motd = "/anope/data/services.motd"
}
module {
@@ -352,12 +354,12 @@ stringData:
}
db_flatfile {
database = "/data/anope.db"
database = "/anope/data/anope.db"
fork = yes
}
log {
target = "/data/services.log"
target = "/anope/data/services.log"
admin = "*"
override = "chanserv/* nickserv/* operserv/*"
commands = "chanserv/* nickserv/* operserv/*"
@@ -486,12 +488,9 @@ spec:
command: ["sh", "-c"]
args:
- |
mkdir -p /data/conf /data/logs /data/runtime
cp -f /config/services.conf /data/conf/services.conf
mkdir -p /data/db /data/logs
chown -R 10000:10000 /data 2>/dev/null || chmod -R 777 /data
volumeMounts:
- name: anope-config
mountPath: /config
- name: anope-data
mountPath: /data
containers:
@@ -499,9 +498,10 @@ spec:
image: anope/anope:latest
volumeMounts:
- name: anope-config
mountPath: /config
mountPath: /anope/conf/services.conf
subPath: services.conf
- name: anope-data
mountPath: /data
mountPath: /anope/data
resources:
requests:
memory: 64Mi