IRC: fix config paths (/app/conf for UnrealIRCd, initcopy for Anope)

This commit is contained in:
root
2026-03-09 17:11:56 -05:00
parent 85138c45de
commit 388ec876da

View File

@@ -87,8 +87,8 @@ stringData:
port 6697;
options { tls; }
tls-options {
certificate "/usr/unrealircd/conf/tls/tls.crt";
key "/usr/unrealircd/conf/tls/tls.key";
certificate "/app/conf/tls/tls.crt";
key "/app/conf/tls/tls.key";
}
}
@@ -156,8 +156,8 @@ stringData:
/* TLS config */
tls {
certificate "/usr/unrealircd/conf/tls/tls.crt";
key "/usr/unrealircd/conf/tls/tls.key";
certificate "/app/conf/tls/tls.crt";
key "/app/conf/tls/tls.key";
}
}
---
@@ -420,12 +420,12 @@ spec:
name: services-link
volumeMounts:
- name: unrealircd-config
mountPath: /usr/unrealircd/conf/unrealircd.conf
mountPath: /app/conf/unrealircd.conf
subPath: unrealircd.conf
- name: unrealircd-data
mountPath: /usr/unrealircd/data
mountPath: /app/data
- name: irc-tls
mountPath: /usr/unrealircd/conf/tls
mountPath: /app/conf/tls
readOnly: true
resources:
requests:
@@ -466,10 +466,15 @@ spec:
containers:
- name: anope
image: anope/anope:latest
command: ["/bin/sh", "-c"]
args:
- |
mkdir -p /data/conf /data/logs
cp /config/services.conf /data/conf/services.conf
exec /anope/bin/services --nofork
volumeMounts:
- name: anope-config
mountPath: /data/conf/services.conf
subPath: services.conf
mountPath: /config
- name: anope-data
mountPath: /data
resources: