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

Disable security and backup (legacy) page for kubedb-ui #643

Merged
merged 1 commit into from
Dec 25, 2024
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
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
Loading