diff --git a/Makefile b/Makefile index 58ed12fc..7fd1b27d 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ KUBECTLCMD=$(shell which kubectl) SWAGGER := $(DOCKERCMD) run --rm -it -v $(HOME):$(HOME) -w $(shell pwd) quay.io/goswagger/swagger REGISTRY ?= projects.registry.vmware.com/cnsi -IMG_TAG = 0.3.1 +IMG_TAG = 0.3.2 # Image URL to use all building/pushing image targets IMG_MANAGER ?= $(REGISTRY)/manager:$(IMG_TAG) IMG_EXPORTER ?= $(REGISTRY)/exporter:$(IMG_TAG) diff --git a/cnsi-manager/config/manager/kustomization.yaml b/cnsi-manager/config/manager/kustomization.yaml index a4948a4b..994a4e36 100644 --- a/cnsi-manager/config/manager/kustomization.yaml +++ b/cnsi-manager/config/manager/kustomization.yaml @@ -15,4 +15,4 @@ kind: Kustomization images: - name: controller newName: projects.registry.vmware.com/cnsi/manager - newTag: 0.3.1 + newTag: 0.3.2 diff --git a/cnsi-portal/scripts/cloud-native-security-inspector-portal.yaml b/cnsi-portal/scripts/cloud-native-security-inspector-portal.yaml index 2631a808..7cc6195d 100644 --- a/cnsi-portal/scripts/cloud-native-security-inspector-portal.yaml +++ b/cnsi-portal/scripts/cloud-native-security-inspector-portal.yaml @@ -18,7 +18,7 @@ spec: serviceAccountName: cnsi-portal-serviceaccount containers: - name: cloud-native-security-inspector-frontend - image: projects.registry.vmware.com/cnsi/portal:0.3.1 + image: projects.registry.vmware.com/cnsi/portal:0.3.2 imagePullPolicy: Always ports: - containerPort: 3800 diff --git a/cnsi-portal/src/app/view/assements/risk-report-view/risk-report-view.component.ts b/cnsi-portal/src/app/view/assements/risk-report-view/risk-report-view.component.ts index e52bfdc3..0c018166 100644 --- a/cnsi-portal/src/app/view/assements/risk-report-view/risk-report-view.component.ts +++ b/cnsi-portal/src/app/view/assements/risk-report-view/risk-report-view.component.ts @@ -218,9 +218,13 @@ export class RiskReportViewComponent implements OnInit, AfterViewInit { callback(data, this, query) this.pageMaxCount = Math.ceil( data.hits.total.value / this.defaultSize) }, - err => {} + err => { + this.echartsLoading = false + this.dgLoading = false + } ) } else { + this.echartsLoading = false this.dgLoading = false } } diff --git a/cnsi-portal/src/app/view/policy/policy-setting-page/policy-setting-page.component.ts b/cnsi-portal/src/app/view/policy/policy-setting-page/policy-setting-page.component.ts index e89a068f..ecf14181 100644 --- a/cnsi-portal/src/app/view/policy/policy-setting-page/policy-setting-page.component.ts +++ b/cnsi-portal/src/app/view/policy/policy-setting-page/policy-setting-page.component.ts @@ -31,15 +31,15 @@ export class PolicySettingPageComponent implements OnInit { imageList = [ { name: 'inspector', - url: 'projects.registry.vmware.com/cnsi/dev/inspector:vac' + url: 'projects.registry.vmware.com/cnsi/inspector:0.3.2' }, { name: 'kubebench', - url: 'projects.registry.vmware.com/cnsi/kubebench:0.3.1' + url: 'projects.registry.vmware.com/cnsi/kubebench:0.3.2' }, { name: 'risk', - url: 'projects.registry.vmware.com/cnsi/risk:0.3.1' + url: 'projects.registry.vmware.com/cnsi/risk:0.3.2' } ] @@ -344,7 +344,7 @@ export class PolicySettingPageComponent implements OnInit { this.policyForm.get('inspectionSetting')?.get('historyLimit')?.setValue(5) this.policyForm.get('inspectionSetting')?.get('suspend')?.setValue(false) this.policyForm.get('inspectionSetting')?.get('concurrencyRule')?.setValue('Forbid') - this.policyForm.get('inspectionSetting')?.get('image')?.setValue('projects.registry.vmware.com/cnsi/inspector:0.3.1') + this.policyForm.get('inspectionSetting')?.get('image')?.setValue('projects.registry.vmware.com/cnsi/inspector:0.3.2') this.policyForm.get('inspectionSetting')?.get('imagePullPolicy')?.setValue('IfNotPresent') this.policyForm.get('inspectionSetting')?.get('settingsName')?.setValue('') this.policyForm.get('inspectionResult')?.get('actions')?.setValue(true) diff --git a/deployments/charts/cnsi/Chart.yaml b/deployments/charts/cnsi/Chart.yaml index 71ba3266..ff8875a9 100644 --- a/deployments/charts/cnsi/Chart.yaml +++ b/deployments/charts/cnsi/Chart.yaml @@ -15,13 +15,13 @@ 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.3.1 +version: 0.3.2 # 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: "0.3.1" +appVersion: "0.3.2" dependencies: - name: opensearch diff --git a/deployments/charts/cnsi/values.yaml b/deployments/charts/cnsi/values.yaml index abfac692..25af56d8 100644 --- a/deployments/charts/cnsi/values.yaml +++ b/deployments/charts/cnsi/values.yaml @@ -5,7 +5,7 @@ image: repository: "projects.registry.vmware.com/cnsi" # override image tag, which is .Chart.AppVersion by default - tag: "0.3.1" + tag: "0.3.2" pullPolicy: "IfNotPresent" opensearch: diff --git a/deployments/yaml/data-exporter.yaml b/deployments/yaml/data-exporter.yaml index 06c6c695..0c491f61 100644 --- a/deployments/yaml/data-exporter.yaml +++ b/deployments/yaml/data-exporter.yaml @@ -14,7 +14,7 @@ spec: control-plane: cnsi-exporter spec: containers: - - image: projects.registry.vmware.com/cnsi/exporter:0.3.1 + - image: projects.registry.vmware.com/cnsi/exporter:0.3.2 imagePullPolicy: IfNotPresent ports: - containerPort: 6780