IRC: fix config paths (/app/conf for UnrealIRCd, initcopy for Anope)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user