grade4 fix

This commit is contained in:
Getlles
2026-11-25 03:15:44 +03:00
parent 3cd4603888
commit 0e644143c0
9 changed files with 105 additions and 35 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
BAO_ROLE_ID=251d767b-f2c9-2c34-d411-5a7231e53f14
BAO_SECRET_ID=e020d296-7d77-22a2-3117-db4cd4d44edb
BAO_SECRET_ID=dd05f33c-a061-6d82-7175-3b2e046ad674
BAO_SECRET_ID_ACCESSOR=afb98d98-c700-0372-d5a0-14bc679bfc6f
+2 -2
View File
@@ -1,3 +1,3 @@
BAO_ROLE_ID=c24b5e51-80c6-5c75-bce3-3de147cad986
BAO_SECRET_ID=72430f62-117f-4157-4bca-b758701c863f
BAO_SECRET_ID_ACCESSOR=1f274d2d-f420-641d-4f96-5347ea11b990
BAO_SECRET_ID=18bd8db5-e830-a8f6-24e4-754081a8382a
BAO_SECRET_ID_ACCESSOR=34ab6616-9c6e-bf66-f9af-b8d747bbeda9
-2
View File
@@ -7,14 +7,12 @@ receivers:
cert_file: /etc/otelcol-contrib/certs/otel-collector.crt
key_file: /etc/otelcol-contrib/certs/otel-collector.key
client_ca_file: /etc/otelcol-contrib/certs/ca.crt
require_client_cert: true
http:
endpoint: 0.0.0.0:4318
tls:
cert_file: /etc/otelcol-contrib/certs/otel-collector.crt
key_file: /etc/otelcol-contrib/certs/otel-collector.key
client_ca_file: /etc/otelcol-contrib/certs/ca.crt
require_client_cert: true
processors:
memory_limiter:
+2 -1
View File
@@ -1,2 +1,3 @@
user default off
user messenger-client on nopass ~* &* +@all
user messenger-api on >StrongApiRedisPass_ChangeMe_2026 ~messenger:* &messenger:* +@read +@write +@connection +ping +info +auth -@dangerous -@admin
user messenger-worker on >StrongWorkerRedisPass_ChangeMe_2026 ~messenger:* &messenger:* +@read +@write +@stream +@connection +ping +info +auth -@dangerous -@admin
+42
View File
@@ -0,0 +1,42 @@
{
"identities": [
{
"name": "admin",
"credentials": [
{
"accessKey": "appuser",
"secretKey": "appsecretpassword"
}
],
"actions": ["Admin", "Read", "Write", "List", "Tagging"]
},
{
"name": "messenger_api_s3",
"credentials": [
{
"accessKey": "messenger_api_s3",
"secretKey": "messenger_api_secret"
}
],
"actions": [
"Read:messenger-attachments/api/",
"Write:messenger-attachments/api/",
"List:messenger-attachments/api/"
]
},
{
"name": "messenger_worker_s3",
"credentials": [
{
"accessKey": "messenger_worker_s3",
"secretKey": "messenger_worker_secret"
}
],
"actions": [
"Read:messenger-attachments/worker/",
"Write:messenger-attachments/worker/",
"List:messenger-attachments/worker/"
]
}
]
}