78 lines
1.9 KiB
YAML
78 lines
1.9 KiB
YAML
|
|
apiVersion: v1
|
||
|
|
kind: ConfigMap
|
||
|
|
metadata:
|
||
|
|
name: rabbitmq-users-definitions
|
||
|
|
data:
|
||
|
|
definitions.json: |
|
||
|
|
{
|
||
|
|
"users": [
|
||
|
|
{
|
||
|
|
"name": "coslight",
|
||
|
|
"password_hash": "Gl2XVEJwPwDZQF8ZhsYnvm83wMkdftY3/raxyntdZueyx/Uv",
|
||
|
|
"hashing_algorithm": "rabbit_password_hashing_sha256",
|
||
|
|
"tags": ["administrator"]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "web-client",
|
||
|
|
"password_hash": "",
|
||
|
|
"hashing_algorithm": "rabbit_password_hashing_sha256",
|
||
|
|
"tags": ["management"]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "modelrt-client",
|
||
|
|
"password_hash": "",
|
||
|
|
"hashing_algorithm": "rabbit_password_hashing_sha256",
|
||
|
|
"tags": ["management"]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "eventrt-client",
|
||
|
|
"password_hash": "",
|
||
|
|
"hashing_algorithm": "rabbit_password_hashing_sha256",
|
||
|
|
"tags": ["management"]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"vhosts": [ { "name": "/" } ],
|
||
|
|
"permissions": [
|
||
|
|
{
|
||
|
|
"user": "coslight",
|
||
|
|
"vhost": "/",
|
||
|
|
"configure": ".*",
|
||
|
|
"write": ".*",
|
||
|
|
"read": ".*"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"user": "web-client",
|
||
|
|
"vhost": "/",
|
||
|
|
"configure": "^$",
|
||
|
|
"write": ".*",
|
||
|
|
"read": ".*"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"user": "modelrt-client",
|
||
|
|
"vhost": "/",
|
||
|
|
"configure": ".*",
|
||
|
|
"write": ".*",
|
||
|
|
"read": ".*"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"user": "eventrt-client",
|
||
|
|
"vhost": "/",
|
||
|
|
"configure": ".*",
|
||
|
|
"write": ".*",
|
||
|
|
"read": ".*"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"topic_permissions": [],
|
||
|
|
"parameters": [],
|
||
|
|
"global_parameters": [
|
||
|
|
{
|
||
|
|
"name": "cluster_name",
|
||
|
|
"value": "evnetrt-rabbitmq-cluster"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"policies": [],
|
||
|
|
"queues": [],
|
||
|
|
"exchanges": [],
|
||
|
|
"bindings": []
|
||
|
|
}
|