deploy(irc): define FlowerCore readonly RPC class

This commit is contained in:
Andrew Stoltz
2026-06-19 18:26:01 -05:00
parent ab41509f81
commit 251fc15143

View File

@@ -666,10 +666,21 @@ data:
class opers;
}
rpc-class flowercore-readonly {
permissions {
rpc { info; }
server { list; get; }
channel { list; get; }
user { list; get; }
stats { get; }
server_ban { list; get; }
}
}
rpc-user flowercorereadonly {
match { ip 10.*; }
password "__RPC_PASSWORD_HASH__";
rpc-class readonly;
rpc-class flowercore-readonly;
}
drpass {
@@ -1021,7 +1032,7 @@ spec:
labels:
app: unrealircd
annotations:
flowercore.io/config-revision: "irc-r1-rpc-hashed-password-20260619"
flowercore.io/config-revision: "irc-r1-rpc-custom-readonly-20260619"
spec:
initContainers:
- name: inject-credentials