mirror of
https://github.com/labring/sealos.git
synced 2026-09-01 15:38:06 +08:00
fd8ae0dfd6
* feat:design metering、podresource、resource api type * metering watch user ns and create * feat:add e2e test about metering watch ns * feat:metering watch extensionResourcePrice * feat:pod-controller create resurce CR logic * feat:metering watch Resource create by resource-Controller and update Metering * feat:metering create AccountBalance and account will watch it and deduction balancde * feat:add infra calculate test * feat:add deploy.yaml and temporary ci * feat:change account ns to sealos-system * fix:update resourceName * feat:add deduction info to account chargelist * fix:payment error * fix:update resource name * Modify inappropriate places in the code by github Comment Signed-off-by: 晓杰 <2561589453@qq.com>
43 lines
934 B
Plaintext
43 lines
934 B
Plaintext
domain: sealos.io
|
|
layout:
|
|
- go.kubebuilder.io/v3
|
|
projectName: metering
|
|
repo: github.com/labring/sealos/controllers/metering
|
|
resources:
|
|
- api:
|
|
crdVersion: v1
|
|
namespaced: true
|
|
controller: true
|
|
domain: sealos.io
|
|
group: metering
|
|
kind: Metering
|
|
path: github.com/labring/sealos/controllers/metering/api/v1
|
|
version: v1
|
|
- api:
|
|
crdVersion: v1
|
|
namespaced: true
|
|
controller: true
|
|
domain: sealos.io
|
|
group: metering
|
|
kind: PodResource
|
|
path: github.com/labring/sealos/controllers/metering/api/v1
|
|
version: v1
|
|
- api:
|
|
crdVersion: v1
|
|
namespaced: true
|
|
controller: true
|
|
domain: sealos.io
|
|
group: metering
|
|
kind: ExtensionResourcePrice
|
|
path: github.com/labring/sealos/controllers/metering/api/v1
|
|
version: v1
|
|
- api:
|
|
crdVersion: v1
|
|
namespaced: true
|
|
domain: sealos.io
|
|
group: metering
|
|
kind: Resource
|
|
path: github.com/labring/sealos/controllers/metering/api/v1
|
|
version: v1
|
|
version: "3"
|