deploy(irc): define FlowerCore readonly RPC class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user