-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable security and backup (legacy) page for kubedb-ui (#643)
Signed-off-by: Tamal Saha <[email protected]>
- Loading branch information
Showing
22 changed files
with
2,555 additions
and
0 deletions.
There are no files selected for viewing
115 changes: 115 additions & 0 deletions
115
charts/kubedb-ui-presets/crds/ui.k8s.appscode.com_resourceoutlinefilters.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: resourceoutlinefilters.ui.k8s.appscode.com | ||
spec: | ||
group: ui.k8s.appscode.com | ||
names: | ||
kind: ResourceOutlineFilter | ||
listKind: ResourceOutlineFilterList | ||
plural: resourceoutlinefilters | ||
singular: resourceoutlinefilter | ||
scope: Cluster | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
actions: | ||
items: | ||
properties: | ||
items: | ||
additionalProperties: | ||
type: boolean | ||
type: object | ||
name: | ||
type: string | ||
show: | ||
type: boolean | ||
required: | ||
- name | ||
- show | ||
type: object | ||
type: array | ||
header: | ||
type: boolean | ||
pages: | ||
items: | ||
properties: | ||
name: | ||
type: string | ||
sections: | ||
items: | ||
properties: | ||
blocks: | ||
additionalProperties: | ||
type: boolean | ||
type: object | ||
info: | ||
type: boolean | ||
insight: | ||
type: boolean | ||
name: | ||
type: string | ||
show: | ||
type: boolean | ||
required: | ||
- info | ||
- insight | ||
- show | ||
type: object | ||
type: array | ||
show: | ||
type: boolean | ||
required: | ||
- name | ||
- show | ||
type: object | ||
type: array | ||
resource: | ||
description: ResourceID identifies a resource | ||
properties: | ||
group: | ||
type: string | ||
kind: | ||
description: Kind is the serialized kind of the resource. It | ||
is normally CamelCase and singular. | ||
type: string | ||
name: | ||
description: 'Name is the plural name of the resource to serve. It | ||
must match the name of the CustomResourceDefinition-registration | ||
too: plural.group and it must be all lowercase.' | ||
type: string | ||
scope: | ||
description: ResourceScope is an enum defining the different scopes | ||
available to a custom resource | ||
type: string | ||
version: | ||
type: string | ||
required: | ||
- group | ||
type: object | ||
tabBar: | ||
type: boolean | ||
required: | ||
- header | ||
- resource | ||
- tabBar | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |
82 changes: 82 additions & 0 deletions
82
charts/kubedb-ui-presets/templates/resourceoutlinefilters/clickhouse.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
apiVersion: ui.k8s.appscode.com/v1alpha1 | ||
kind: ResourceOutlineFilter | ||
metadata: | ||
name: kubedb.com-v1alpha2-clickhouses-kubedb | ||
spec: | ||
actions: | ||
- items: | ||
Reconfigure: true | ||
Restart: true | ||
name: Operations | ||
show: true | ||
- items: | ||
Expand Volume: true | ||
Horizontal Scale: true | ||
Vertical Scale: true | ||
name: Scaling | ||
show: true | ||
header: true | ||
pages: | ||
- name: Overview | ||
sections: | ||
- blocks: | ||
Nodes: true | ||
info: true | ||
insight: false | ||
show: true | ||
show: true | ||
- name: Insights | ||
sections: | ||
- blocks: | ||
Grafana Dashboards: true | ||
info: false | ||
insight: false | ||
show: true | ||
show: true | ||
- name: Security | ||
sections: | ||
- blocks: | ||
CVE Report: true | ||
info: false | ||
insight: false | ||
name: CVE Report | ||
show: true | ||
- blocks: | ||
ClusterRoleBindings: true | ||
ClusterRoles: true | ||
RoleBindings: true | ||
Roles: true | ||
Service Account: true | ||
info: false | ||
insight: false | ||
name: Access Control | ||
show: true | ||
- blocks: | ||
Certificates: true | ||
Cluster Issuer: true | ||
Issuer: true | ||
Secrets: true | ||
info: false | ||
insight: false | ||
name: TLS | ||
show: true | ||
- blocks: | ||
Policy Report: true | ||
info: false | ||
insight: false | ||
name: Policies | ||
show: true | ||
- blocks: | ||
Falco Events: true | ||
info: false | ||
insight: false | ||
name: Runtime Security | ||
show: true | ||
show: false | ||
resource: | ||
group: kubedb.com | ||
kind: ClickHouse | ||
name: clickhouses | ||
scope: Namespaced | ||
version: v1alpha2 | ||
tabBar: true |
99 changes: 99 additions & 0 deletions
99
charts/kubedb-ui-presets/templates/resourceoutlinefilters/druid.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
apiVersion: ui.k8s.appscode.com/v1alpha1 | ||
kind: ResourceOutlineFilter | ||
metadata: | ||
name: kubedb.com-v1alpha2-druids-kubedb | ||
spec: | ||
actions: | ||
- items: | ||
Reconfigure: true | ||
Restart: true | ||
name: Operations | ||
show: true | ||
- items: | ||
Expand Volume: true | ||
Vertical Scale: true | ||
name: Scaling | ||
show: true | ||
- items: | ||
Compute: true | ||
Storage: true | ||
name: Autoscaling | ||
show: true | ||
- items: | ||
Monitoring: true | ||
name: Security & Monitoring | ||
show: true | ||
header: true | ||
pages: | ||
- name: Overview | ||
sections: | ||
- blocks: | ||
Nodes: true | ||
info: true | ||
insight: false | ||
show: true | ||
show: true | ||
- name: Insights | ||
sections: | ||
- blocks: | ||
Grafana Dashboards: true | ||
info: false | ||
insight: false | ||
show: true | ||
show: true | ||
- name: Operations | ||
sections: | ||
- blocks: | ||
Recent Operations: true | ||
Recommendations: true | ||
info: false | ||
insight: false | ||
show: true | ||
show: true | ||
- name: Security | ||
sections: | ||
- blocks: | ||
CVE Report: true | ||
info: false | ||
insight: false | ||
name: CVE Report | ||
show: true | ||
- blocks: | ||
ClusterRoleBindings: true | ||
ClusterRoles: true | ||
RoleBindings: true | ||
Roles: true | ||
Service Account: true | ||
info: false | ||
insight: false | ||
name: Access Control | ||
show: true | ||
- blocks: | ||
Certificates: true | ||
Cluster Issuer: true | ||
Issuer: true | ||
Secrets: true | ||
info: false | ||
insight: false | ||
name: TLS | ||
show: true | ||
- blocks: | ||
Policy Report: true | ||
info: false | ||
insight: false | ||
name: Policies | ||
show: true | ||
- blocks: | ||
Falco Events: true | ||
info: false | ||
insight: false | ||
name: Runtime Security | ||
show: true | ||
show: false | ||
resource: | ||
group: kubedb.com | ||
kind: Druid | ||
name: druids | ||
scope: Namespaced | ||
version: v1alpha2 | ||
tabBar: true |
Oops, something went wrong.