deploy(irc): define FlowerCore readonly RPC class
This commit is contained in:
@@ -666,10 +666,21 @@ data:
|
|||||||
class opers;
|
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 {
|
rpc-user flowercorereadonly {
|
||||||
match { ip 10.*; }
|
match { ip 10.*; }
|
||||||
password "__RPC_PASSWORD_HASH__";
|
password "__RPC_PASSWORD_HASH__";
|
||||||
rpc-class readonly;
|
rpc-class flowercore-readonly;
|
||||||
}
|
}
|
||||||
|
|
||||||
drpass {
|
drpass {
|
||||||
@@ -1021,7 +1032,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: unrealircd
|
app: unrealircd
|
||||||
annotations:
|
annotations:
|
||||||
flowercore.io/config-revision: "irc-r1-rpc-hashed-password-20260619"
|
flowercore.io/config-revision: "irc-r1-rpc-custom-readonly-20260619"
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: inject-credentials
|
- name: inject-credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user