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