forked from kubesphere/kubeeye
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: pixiake <[email protected]>
- Loading branch information
Showing
54 changed files
with
935 additions
and
1,612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: inspectplans.kubeeye.kubesphere.io | ||
spec: | ||
group: kubeeye.kubesphere.io | ||
names: | ||
kind: InspectPlan | ||
listKind: InspectPlanList | ||
plural: inspectplans | ||
singular: inspectplan | ||
scope: Cluster | ||
versions: | ||
- name: v1alpha2 | ||
schema: | ||
openAPIV3Schema: | ||
description: InspectPlan is the Schema for the InspectPlans API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: InspectPlanSpec defines the desired state of InspectPlan | ||
properties: | ||
auditors: | ||
items: | ||
type: string | ||
minItems: 1 | ||
type: array | ||
maxTasks: | ||
type: integer | ||
ruleNames: | ||
items: | ||
type: string | ||
type: array | ||
schedule: | ||
type: string | ||
suspend: | ||
type: boolean | ||
tag: | ||
type: string | ||
timeout: | ||
type: string | ||
type: object | ||
status: | ||
description: InspectPlanStatus defines the observed state of InspectPlan | ||
properties: | ||
TaskNames: | ||
items: | ||
type: string | ||
type: array | ||
lastScheduleTime: | ||
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state | ||
of cluster Important: Run "make" to regenerate code after modifying | ||
this file' | ||
format: date-time | ||
type: string | ||
lastTaskName: | ||
type: string | ||
lastTaskStatus: | ||
type: string | ||
nextScheduleTime: | ||
format: date-time | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: inspectresults.kubeeye.kubesphere.io | ||
spec: | ||
group: kubeeye.kubesphere.io | ||
names: | ||
kind: InspectResult | ||
listKind: InspectResultList | ||
plural: inspectresults | ||
singular: inspectresult | ||
scope: Cluster | ||
versions: | ||
- name: v1alpha2 | ||
schema: | ||
openAPIV3Schema: | ||
description: InspectResult is the Schema for the inspectresults API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: InspectResultSpec defines the desired state of InspectResult | ||
properties: | ||
nodeInfoResult: | ||
additionalProperties: | ||
properties: | ||
fileChangeResult: | ||
items: | ||
properties: | ||
fileName: | ||
type: string | ||
issues: | ||
items: | ||
type: string | ||
type: array | ||
path: | ||
type: string | ||
type: object | ||
type: array | ||
nodeInfo: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
sysctlResult: | ||
items: | ||
properties: | ||
assert: | ||
type: boolean | ||
name: | ||
type: string | ||
value: | ||
type: string | ||
type: object | ||
type: array | ||
systemdResult: | ||
items: | ||
properties: | ||
assert: | ||
type: boolean | ||
name: | ||
type: string | ||
value: | ||
type: string | ||
type: object | ||
type: array | ||
type: object | ||
type: object | ||
opaResult: | ||
description: kubeeye inspect result | ||
properties: | ||
extraInfo: | ||
properties: | ||
namespacesList: | ||
items: | ||
type: string | ||
type: array | ||
workloadsCount: | ||
type: integer | ||
type: object | ||
percent: | ||
type: integer | ||
resourceResults: | ||
items: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
resourceType: | ||
type: string | ||
resultItems: | ||
items: | ||
properties: | ||
level: | ||
type: string | ||
message: | ||
type: string | ||
reason: | ||
type: string | ||
type: object | ||
type: array | ||
type: object | ||
type: array | ||
scoreInfo: | ||
properties: | ||
dangerous: | ||
type: integer | ||
ignore: | ||
type: integer | ||
passing: | ||
type: integer | ||
score: | ||
type: integer | ||
total: | ||
type: integer | ||
warning: | ||
type: integer | ||
type: object | ||
type: object | ||
prometheusResult: | ||
items: | ||
items: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
type: array | ||
type: array | ||
type: object | ||
status: | ||
description: InspectResultStatus defines the observed state of InspectResult | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.