Skip to content

Commit

Permalink
auto update kubeeye chart
Browse files Browse the repository at this point in the history
Signed-off-by: pixiake <[email protected]>
  • Loading branch information
pixiake committed Jul 4, 2023
1 parent 606ab63 commit 524d7b1
Show file tree
Hide file tree
Showing 54 changed files with 935 additions and 1,612 deletions.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,16 @@ generate-client:
./hack/generate_group.sh client,lister,informer github.com/kubesphere/kubeeye/clients github.com/kubesphere/kubeeye/apis "kubeeye:v1alpha2" --output-base=./ -h ./hack/boilerplate.go.txt -v 10
rm -rf ./clients
mv github.com/kubesphere/kubeeye/clients ./
rm -rf ./github.com
rm -rf ./github.com


LOCALBIN = $(shell pwd)/bin
HELMIFY ?= $(LOCALBIN)/helmify

.PHONY: helmify
helmify: $(HELMIFY) ## Download helmify locally if necessary.
$(HELMIFY): $(LOCALBIN)
test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@latest

helm: manifests kustomize helmify
$(KUSTOMIZE) build config/default | $(HELMIFY) --crd-dir chart/kubeeye
File renamed without changes.
7 changes: 2 additions & 5 deletions deploy/charts/Chart.yaml → chart/kubeeye/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: v2
name: kubeeye
description: A Helm chart for Kubernetes

description: A Helm chart for KubeEye
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
Expand All @@ -11,14 +10,12 @@ description: A Helm chart for Kubernetes
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
appVersion: "v1.0.0-beta.0"
81 changes: 81 additions & 0 deletions chart/kubeeye/crds/inspectplan-crd.yaml
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: {}
148 changes: 148 additions & 0 deletions chart/kubeeye/crds/inspectresult-crd.yaml
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: {}
Loading

0 comments on commit 524d7b1

Please sign in to comment.