Update kerberos-hub-import-database-job.yaml

This commit is contained in:
Cedric Verstraeten
2025-03-06 11:04:25 +01:00
parent dc730670d8
commit c4197c4293

View File

@@ -51,22 +51,45 @@ data:
{
$set: {
'username': 'example-user',
'email': 'your@email.com',
'email': 'example-user@email.com',
'password': '$2a$10$jwLcD/.UT/1WLK7ct1XuHewI3GQXwW3zerPhCCs7QDrReEuIHbVYi',
'role': 'owner',
'google2fa_enabled': false
'timezone': 'Europe/Brussels',
'isActive': NumberLong(1),
'registerToken': '',
'timezone': 'Europe/Brussels',
'updated_at': ISODate('2020-06-14T05:01:35.000Z'),
'created_at': ISODate('2016-09-20T09:27:58.811Z'),
'amazon_secret_access_key': 'K6rRLBI1xxxCk3C1H',
'amazon_access_key_id': 'AKIAxxxxxxG5Q',
'card_brand': 'Visa',
'card_last_four': '0000',
'sequence_first': 1510657836,
'card_status': 'ok',
'card_status_message': null,
}
},
{ upsert: true }
);
// This will create an application with the following credentials, which
// can be used to authenticate with the admin panel.
// username: example-application
// password: example-password
db.users.updateOne(
{ '_id': ObjectId('57e1011e3178aa6c5cc774d2') },
{
$set: {
'username': 'example-application',
'email': 'example-application@email.com',
'password': '$2a$10$jwLcD/.UT/1WLK7ct1XuHewI3GQXwW3zerPhCCs7QDrReEuIHbVYi',
'role': 'application',
'google2fa_enabled': false
'timezone': 'Europe/Brussels',
'isActive': NumberLong(1),
'registerToken': '',
'updated_at': ISODate('2020-06-14T05:01:35.000Z'),
'created_at': ISODate('2016-09-20T09:27:58.811Z'),
}
},
{ upsert: true }