Skip to content

Commit 778b139

Browse files
authored
Disable security and backup (legacy) page for kubedb-ui (#643)
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 6bdd9fc commit 778b139

22 files changed

Lines changed: 2555 additions & 0 deletions
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: resourceoutlinefilters.ui.k8s.appscode.com
5+
spec:
6+
group: ui.k8s.appscode.com
7+
names:
8+
kind: ResourceOutlineFilter
9+
listKind: ResourceOutlineFilterList
10+
plural: resourceoutlinefilters
11+
singular: resourceoutlinefilter
12+
scope: Cluster
13+
versions:
14+
- name: v1alpha1
15+
schema:
16+
openAPIV3Schema:
17+
properties:
18+
apiVersion:
19+
description: 'APIVersion defines the versioned schema of this representation
20+
of an object. Servers should convert recognized schemas to the latest
21+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
22+
type: string
23+
kind:
24+
description: 'Kind is a string value representing the REST resource this
25+
object represents. Servers may infer this from the endpoint the client
26+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
27+
type: string
28+
metadata:
29+
type: object
30+
spec:
31+
properties:
32+
actions:
33+
items:
34+
properties:
35+
items:
36+
additionalProperties:
37+
type: boolean
38+
type: object
39+
name:
40+
type: string
41+
show:
42+
type: boolean
43+
required:
44+
- name
45+
- show
46+
type: object
47+
type: array
48+
header:
49+
type: boolean
50+
pages:
51+
items:
52+
properties:
53+
name:
54+
type: string
55+
sections:
56+
items:
57+
properties:
58+
blocks:
59+
additionalProperties:
60+
type: boolean
61+
type: object
62+
info:
63+
type: boolean
64+
insight:
65+
type: boolean
66+
name:
67+
type: string
68+
show:
69+
type: boolean
70+
required:
71+
- info
72+
- insight
73+
- show
74+
type: object
75+
type: array
76+
show:
77+
type: boolean
78+
required:
79+
- name
80+
- show
81+
type: object
82+
type: array
83+
resource:
84+
description: ResourceID identifies a resource
85+
properties:
86+
group:
87+
type: string
88+
kind:
89+
description: Kind is the serialized kind of the resource. It
90+
is normally CamelCase and singular.
91+
type: string
92+
name:
93+
description: 'Name is the plural name of the resource to serve. It
94+
must match the name of the CustomResourceDefinition-registration
95+
too: plural.group and it must be all lowercase.'
96+
type: string
97+
scope:
98+
description: ResourceScope is an enum defining the different scopes
99+
available to a custom resource
100+
type: string
101+
version:
102+
type: string
103+
required:
104+
- group
105+
type: object
106+
tabBar:
107+
type: boolean
108+
required:
109+
- header
110+
- resource
111+
- tabBar
112+
type: object
113+
type: object
114+
served: true
115+
storage: true
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
apiVersion: ui.k8s.appscode.com/v1alpha1
2+
kind: ResourceOutlineFilter
3+
metadata:
4+
name: kubedb.com-v1alpha2-clickhouses-kubedb
5+
spec:
6+
actions:
7+
- items:
8+
Reconfigure: true
9+
Restart: true
10+
name: Operations
11+
show: true
12+
- items:
13+
Expand Volume: true
14+
Horizontal Scale: true
15+
Vertical Scale: true
16+
name: Scaling
17+
show: true
18+
header: true
19+
pages:
20+
- name: Overview
21+
sections:
22+
- blocks:
23+
Nodes: true
24+
info: true
25+
insight: false
26+
show: true
27+
show: true
28+
- name: Insights
29+
sections:
30+
- blocks:
31+
Grafana Dashboards: true
32+
info: false
33+
insight: false
34+
show: true
35+
show: true
36+
- name: Security
37+
sections:
38+
- blocks:
39+
CVE Report: true
40+
info: false
41+
insight: false
42+
name: CVE Report
43+
show: true
44+
- blocks:
45+
ClusterRoleBindings: true
46+
ClusterRoles: true
47+
RoleBindings: true
48+
Roles: true
49+
Service Account: true
50+
info: false
51+
insight: false
52+
name: Access Control
53+
show: true
54+
- blocks:
55+
Certificates: true
56+
Cluster Issuer: true
57+
Issuer: true
58+
Secrets: true
59+
info: false
60+
insight: false
61+
name: TLS
62+
show: true
63+
- blocks:
64+
Policy Report: true
65+
info: false
66+
insight: false
67+
name: Policies
68+
show: true
69+
- blocks:
70+
Falco Events: true
71+
info: false
72+
insight: false
73+
name: Runtime Security
74+
show: true
75+
show: false
76+
resource:
77+
group: kubedb.com
78+
kind: ClickHouse
79+
name: clickhouses
80+
scope: Namespaced
81+
version: v1alpha2
82+
tabBar: true
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
apiVersion: ui.k8s.appscode.com/v1alpha1
2+
kind: ResourceOutlineFilter
3+
metadata:
4+
name: kubedb.com-v1alpha2-druids-kubedb
5+
spec:
6+
actions:
7+
- items:
8+
Reconfigure: true
9+
Restart: true
10+
name: Operations
11+
show: true
12+
- items:
13+
Expand Volume: true
14+
Vertical Scale: true
15+
name: Scaling
16+
show: true
17+
- items:
18+
Compute: true
19+
Storage: true
20+
name: Autoscaling
21+
show: true
22+
- items:
23+
Monitoring: true
24+
name: Security & Monitoring
25+
show: true
26+
header: true
27+
pages:
28+
- name: Overview
29+
sections:
30+
- blocks:
31+
Nodes: true
32+
info: true
33+
insight: false
34+
show: true
35+
show: true
36+
- name: Insights
37+
sections:
38+
- blocks:
39+
Grafana Dashboards: true
40+
info: false
41+
insight: false
42+
show: true
43+
show: true
44+
- name: Operations
45+
sections:
46+
- blocks:
47+
Recent Operations: true
48+
Recommendations: true
49+
info: false
50+
insight: false
51+
show: true
52+
show: true
53+
- name: Security
54+
sections:
55+
- blocks:
56+
CVE Report: true
57+
info: false
58+
insight: false
59+
name: CVE Report
60+
show: true
61+
- blocks:
62+
ClusterRoleBindings: true
63+
ClusterRoles: true
64+
RoleBindings: true
65+
Roles: true
66+
Service Account: true
67+
info: false
68+
insight: false
69+
name: Access Control
70+
show: true
71+
- blocks:
72+
Certificates: true
73+
Cluster Issuer: true
74+
Issuer: true
75+
Secrets: true
76+
info: false
77+
insight: false
78+
name: TLS
79+
show: true
80+
- blocks:
81+
Policy Report: true
82+
info: false
83+
insight: false
84+
name: Policies
85+
show: true
86+
- blocks:
87+
Falco Events: true
88+
info: false
89+
insight: false
90+
name: Runtime Security
91+
show: true
92+
show: false
93+
resource:
94+
group: kubedb.com
95+
kind: Druid
96+
name: druids
97+
scope: Namespaced
98+
version: v1alpha2
99+
tabBar: true

0 commit comments

Comments
 (0)