1
0
mirror of https://github.com/rancher/types.git synced 2025-05-13 01:14:21 +00:00

Move CIS annotation to status

This commit is contained in:
Daishan 2020-03-18 21:40:55 -07:00
parent 14e9ee6d63
commit 85263a52d2
2 changed files with 1 additions and 1 deletions
apis/management.cattle.io/v3

View File

@ -24,7 +24,6 @@ const (
DefaultSonobuoyPodName = "security-scan-runner"
ConfigMapNameForUserConfig = "security-scan-cfg"
RunCisScanAnnotation = "field.cattle.io/runCisScan"
SonobuoyCompletionAnnotation = "field.cattle.io/sonobuoyDone"
CisHelmChartOwner = "field.cattle.io/clusterScanOwner"

View File

@ -156,6 +156,7 @@ type ClusterStatus struct {
IstioEnabled bool `json:"istioEnabled,omitempty" norman:"nocreate,noupdate,default=false"`
CertificatesExpiration map[string]CertExpiration `json:"certificatesExpiration,omitempty"`
ScheduledClusterScanStatus *ScheduledClusterScanStatus `json:"scheduledClusterScanStatus,omitempty"`
CurrentCisRunName string `json:"currentCisRunName,omitempty"`
}
type ClusterComponentStatus struct {