From d7c0a8bedb4f32b3b8e860a0cdd8ce3a8b21ac24 Mon Sep 17 00:00:00 2001 From: Xiao Liu <46879761+liangzai006@users.noreply.github.com> Date: Thu, 26 Oct 2023 16:25:42 +0800 Subject: [PATCH] update chat version v1.0.0-beta.12 --- chart/kubeeye/Chart.yaml | 2 +- chart/kubeeye/crds/inspectresult-crd.yaml | 4 ++++ chart/kubeeye/crds/inspectrule-crd.yaml | 6 +++--- chart/kubeeye/templates/manager-rbac.yaml | 1 + pkg/constant/constant.go | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/chart/kubeeye/Chart.yaml b/chart/kubeeye/Chart.yaml index 678899c3..b37caf03 100644 --- a/chart/kubeeye/Chart.yaml +++ b/chart/kubeeye/Chart.yaml @@ -18,4 +18,4 @@ version: 1.0.0 # 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: "v1.0.0-beta.9" +appVersion: "v1.0.0-beta.12" diff --git a/chart/kubeeye/crds/inspectresult-crd.yaml b/chart/kubeeye/crds/inspectresult-crd.yaml index c9debd1b..0559fa34 100644 --- a/chart/kubeeye/crds/inspectresult-crd.yaml +++ b/chart/kubeeye/crds/inspectresult-crd.yaml @@ -69,6 +69,8 @@ spec: fileChangeResult: items: properties: + assert: + type: boolean fileName: type: string issues: @@ -86,6 +88,8 @@ spec: fileFilterResult: items: properties: + assert: + type: boolean fileName: type: string issues: diff --git a/chart/kubeeye/crds/inspectrule-crd.yaml b/chart/kubeeye/crds/inspectrule-crd.yaml index 6c25d13d..d665e55f 100644 --- a/chart/kubeeye/crds/inspectrule-crd.yaml +++ b/chart/kubeeye/crds/inspectrule-crd.yaml @@ -116,9 +116,7 @@ spec: level: type: string mount: - items: - type: string - type: array + type: string name: type: string nodeName: @@ -127,6 +125,8 @@ spec: additionalProperties: type: string type: object + resourcesType: + type: string rule: type: string type: object diff --git a/chart/kubeeye/templates/manager-rbac.yaml b/chart/kubeeye/templates/manager-rbac.yaml index 09b9074f..6b9043f4 100644 --- a/chart/kubeeye/templates/manager-rbac.yaml +++ b/chart/kubeeye/templates/manager-rbac.yaml @@ -25,6 +25,7 @@ rules: resources: - namespaces - nodes + - secrets - services verbs: - get diff --git a/pkg/constant/constant.go b/pkg/constant/constant.go index 42fd7672..246b6dcd 100644 --- a/pkg/constant/constant.go +++ b/pkg/constant/constant.go @@ -57,5 +57,5 @@ const ( const ( DefaultProcPath = "/hosts/proc" RootPathPrefix = "/hosts/root" - ResultPath = "/hosts/result" + ResultPath = "./" )