Files
sealos/controllers/resources/hack
Jiahui 5207f95349 feat: resources monitor, metering controller, billing controller, billingrecordquery, pricequery controller (#3008)
* change accountbalance struct
add billing controller;
add new query CRD: billingresordquery and pricequery, and query controller;
modify the storage amount ratio to 1:1000000
optimize mongo query code

* hide the old metering controller

* add query gvk to debt webhook white list;
monitor data table by day, eg: monitor_20230517;
billing collection cancels the timing table and changes it to an index type table;
optimize the billing logic and bill by the hour;
optimize the use of gonanoid to generate 12-digit bill id;
payment crd adds the PaymentMethod field, which is used to identify wechat or other billing methods in the future.

* add resources controller workflow
fix payment controller panic error
add resources controller cluster image workflow
2023-05-25 11:56:47 +08:00
..