From 388ec876da30e002124731a136c9fbc6bec15134 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Mar 2026 17:11:56 -0500 Subject: [PATCH] IRC: fix config paths (/app/conf for UnrealIRCd, initcopy for Anope) --- apps/irc/irc.yaml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/apps/irc/irc.yaml b/apps/irc/irc.yaml index 1cf6aaf..b673a57 100644 --- a/apps/irc/irc.yaml +++ b/apps/irc/irc.yaml @@ -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: