diff --git a/deploy/rule/kubeeye_v1alpha2_services_connect.yaml b/deploy/rule/kubeeye_v1alpha2_services_connect.yaml index 167dca10..7f6ba2cb 100644 --- a/deploy/rule/kubeeye_v1alpha2_services_connect.yaml +++ b/deploy/rule/kubeeye_v1alpha2_services_connect.yaml @@ -4,6 +4,6 @@ metadata: name: services-connect spec: serviceConnect: - - workSpaces: system-workspace + - workspace: system-workspace level: warning diff --git a/pkg/inspect/file_change_Inspect.go b/pkg/inspect/file_change_Inspect.go index 6b706372..ccd6fddc 100644 --- a/pkg/inspect/file_change_Inspect.go +++ b/pkg/inspect/file_change_Inspect.go @@ -75,7 +75,7 @@ func (f *fileChangeInspect) RunInspect(ctx context.Context, rules []kubeeyev1alp continue } } - baseContent := baseConfig.BinaryData[constant.FileChange] + baseContent := baseConfig.BinaryData[constant.Data] diffResult := diffString(string(baseContent), string(baseFile))