Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(crd): Remove the all category from cluster-scoped CRDs #733

Merged
merged 1 commit into from
Oct 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions deploy/crd/ciskubebenchreports.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ spec:
plural: ciskubebenchreports
kind: CISKubeBenchReport
listKind: CISKubeBenchReportList
categories:
- all
categories: []
shortNames:
- kubebench
3 changes: 1 addition & 2 deletions deploy/crd/clusterconfigauditreports.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ spec:
plural: clusterconfigauditreports
kind: ClusterConfigAuditReport
listKind: ClusterConfigAuditReportList
categories:
- all
categories: []
shortNames:
- clusterconfigaudit
3 changes: 1 addition & 2 deletions deploy/crd/clustervulnerabilityreports.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ spec:
plural: clustervulnerabilityreports
kind: ClusterVulnerabilityReport
listKind: ClusterVulnerabilityReportList
categories:
- all
categories: []
shortNames:
- clustervuln
- clustervulns
3 changes: 1 addition & 2 deletions deploy/crd/kubehunterreports.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ spec:
plural: kubehunterreports
kind: KubeHunterReport
listKind: KubeHunterReportList
categories:
- all
categories: []
shortNames:
- kubehunter
4 changes: 0 additions & 4 deletions itest/starboard/starboard_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ var _ = Describe("Starboard CLI", func() {
ShortNames: []string{"clustervuln", "clustervulns"},
Kind: "ClusterVulnerabilityReport",
ListKind: "ClusterVulnerabilityReportList",
Categories: []string{"all"},
}),
"Scope": Equal(apiextensionsv1beta1.ClusterScoped),
}),
Expand Down Expand Up @@ -109,7 +108,6 @@ var _ = Describe("Starboard CLI", func() {
ShortNames: []string{"clusterconfigaudit"},
Kind: "ClusterConfigAuditReport",
ListKind: "ClusterConfigAuditReportList",
Categories: []string{"all"},
}),
}),
}),
Expand All @@ -124,7 +122,6 @@ var _ = Describe("Starboard CLI", func() {
ShortNames: []string{"kubebench"},
Kind: "CISKubeBenchReport",
ListKind: "CISKubeBenchReportList",
Categories: []string{"all"},
}),
}),
}),
Expand All @@ -139,7 +136,6 @@ var _ = Describe("Starboard CLI", func() {
ShortNames: []string{"kubehunter"},
Kind: "KubeHunterReport",
ListKind: "KubeHunterReportList",
Categories: []string{"all"},
}),
}),
}),
Expand Down