/
constants.go
50 lines (40 loc) · 1.58 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package starboard
const (
Banner = `Starboard is an Aqua Security open source project.
Learn about our open source work and portfolio on https://www.aquasec.com/products/open-source-projects/.
`
)
const (
// NamespaceName the name of the namespace in which Starboard stores its
// configuration and where it runs scan jobs.
NamespaceName = "starboard"
// ServiceAccountName the name of the service account used to provide
// identity for scan jobs run by Starboard.
ServiceAccountName = "starboard"
// ConfigMapName the name of the ConfigMap where Starboard stores its
// configuration.
ConfigMapName = "starboard"
// SecretName the name of the secret where Starboard stores is sensitive
// configuration.
SecretName = "starboard"
// PoliciesConfigMapName the name of the ConfigMap used to store OPA Rego
// policies.
PoliciesConfigMapName = "starboard-policies-config"
)
const (
LabelResourceKind = "starboard.resource.kind"
LabelResourceName = "starboard.resource.name"
LabelResourceNameHash = "starboard.resource.name-hash"
LabelResourceNamespace = "starboard.resource.namespace"
LabelContainerName = "starboard.container.name"
LabelResourceSpecHash = "resource-spec-hash"
LabelPluginConfigHash = "plugin-config-hash"
LabelConfigAuditReportScanner = "configAuditReport.scanner"
LabelVulnerabilityReportScanner = "vulnerabilityReport.scanner"
LabelKubeBenchReportScanner = "kubeBenchReport.scanner"
LabelK8SAppManagedBy = "app.kubernetes.io/managed-by"
AppStarboard = "starboard"
)
const (
AnnotationContainerImages = "starboard.container-images"
)