Skip to content

Commit

Permalink
Disable security and backup (legacy) page for kubedb-ui (#643)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Dec 25, 2024
1 parent 6bdd9fc commit 778b139
Show file tree
Hide file tree
Showing 22 changed files with 2,555 additions and 0 deletions.
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
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
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
Loading

0 comments on commit 778b139

Please sign in to comment.