Configure Sentry for akkounts

This commit is contained in:
Râu Cao 2023-03-27 19:10:48 +02:00
parent 9f886cc286
commit 99d985c0d5
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
3 changed files with 21 additions and 10 deletions

View File

@ -1,23 +1,30 @@
{
"id": "akkounts",
"postgresql_username": {
"encrypted_data": "Mw+E6dXUYIRQgMzfxij9cFT9XFauVn9VUT9p\n",
"iv": "c2b2zKGTf1S3laui\n",
"auth_tag": "3ytXQSpxNYXGEeDOTq5g7g==\n",
"encrypted_data": "drHBdPcrH3BqlsVfWP/vL5Thok8Uub6JhjuU\n",
"iv": "n+08nhiHoK4jRVwd\n",
"auth_tag": "elB4rx8k+jj34iQepECQNA==\n",
"version": 3,
"cipher": "aes-256-gcm"
},
"postgresql_password": {
"encrypted_data": "UCwTT6i0ORWiVRn5gbjWMOuikAIb7gAwL8g0TFhIvg==\n",
"iv": "xL6W4GqhxAf7FxmK\n",
"auth_tag": "EFE3C0PBAuusn/SqTAdyYA==\n",
"encrypted_data": "Hu8yjpvf3/KY/K3gcbRbEce3OkjSrN91m2lCcePT+A==\n",
"iv": "+GFS35dpYy4zD2pi\n",
"auth_tag": "jCJQMskBFo9TSr8Uq7BWkw==\n",
"version": 3,
"cipher": "aes-256-gcm"
},
"sentry_dsn": {
"encrypted_data": "KG8apiKfWa4gWwiz8tFLZywpp7gMp3hLDCREeR/RA6+i6Of7qYRx0YRzYdpE\n8gdaO0EOQZ4PXzVBsiIQy4ijHRt8udo2PNzzZP6h91jdAjw=\n",
"iv": "KWU6LeHdE3iwPyBU\n",
"auth_tag": "7pQO/t8pXiwrlb5xAas+Zg==\n",
"version": 3,
"cipher": "aes-256-gcm"
},
"rails_master_key": {
"encrypted_data": "QZD0AJIcq3iqrFAHN9DHxfctCXAMRQjuTSI9QgmaIUXgCz4+3LawI6eYGvr9\nV2nyDGJa\n",
"iv": "4hw1Dk+NsQ8wF7Og\n",
"auth_tag": "uoVSykmRQImRld1Ln0bg2g==\n",
"encrypted_data": "E4OVlsZgm9wupyi9Xs7iEy11wJrCXL0Qrm9akulW7vmdrEfnI8KC6x1UooM+\nEI1fYmLs\n",
"iv": "YFRMYT8D+bF+iu5+\n",
"auth_tag": "wT7rorNWEKGNR7xQLTe/xg==\n",
"version": 3,
"cipher": "aes-256-gcm"
}

View File

@ -16,6 +16,7 @@
"base",
"kvm_guest",
"ldap_client",
"sentry_client",
"akkounts",
"postgresql_client"
],
@ -24,6 +25,7 @@
"kosmos-base::default",
"kosmos_kvm::guest",
"kosmos-dirsrv::hostsfile",
"kosmos_sentry::client",
"kosmos_postgresql::hostsfile",
"kosmos-akkounts",
"kosmos-akkounts::default",
@ -77,4 +79,4 @@
"role[sentry_client]",
"role[akkounts]"
]
}
}

View File

@ -53,6 +53,8 @@ env[:smtp] = {
enable_starttls: node['akkounts']['smtp']['enable_starttls']
}
env[:sentry_dsn] = credentials["sentry_dsn"]
if webhooks_allowed_ips.length > 0
env[:webhooks_allowed_ips] = webhooks_allowed_ips
end