Skip to content

Commit

Permalink
Add resourceOutlines for for kubedb v1 api (#448)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <[email protected]>
  • Loading branch information
ArnobKumarSaha authored Jul 16, 2024
1 parent cde3a12 commit 3c70c57
Show file tree
Hide file tree
Showing 22 changed files with 5,368 additions and 7 deletions.
14 changes: 7 additions & 7 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
deletionPolicy:
enum:
- Halt
- Delete
- WipeOut
- DoNotTerminate
type: string
halted:
type: boolean
init:
Expand Down Expand Up @@ -4124,13 +4131,6 @@ spec:
- Durable
- Ephemeral
type: string
terminationPolicy:
enum:
- Halt
- Delete
- WipeOut
- DoNotTerminate
type: string
tls:
properties:
member:
Expand Down
210 changes: 210 additions & 0 deletions hub/resourceoutlines/kubedb.com/v1/elasticsearches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceOutline
metadata:
creationTimestamp: null
labels:
k8s.io/group: kubedb.com
k8s.io/kind: Elasticsearch
k8s.io/resource: elasticsearches
k8s.io/version: v1
name: kubedb.com-v1-elasticsearches
spec:
defaultLayout: true
pages:
- name: Overview
sections:
- blocks:
- kind: Block
name: kubedb.com-v1-elasticsearches
- name: Users
sections:
- blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: Root User
query:
byLabel: auth_secret
type: GraphQL
ref:
group: ""
kind: Secret
- actions:
create: Never
displayMode: List
kind: Connection
name: AppBindings
query:
byLabel: connect_via
type: GraphQL
ref:
group: appcatalog.appscode.com
kind: AppBinding
requiredFeatureSets:
opscenter-datastore:
- kubedb
- actions:
create: Never
displayMode: List
kind: Connection
name: VaultServers
query:
raw: |-
query Find($src: String!, $targetGroup: String!, $targetKind: String!) {
find(oid: $src) {
authz(group: "engine.kubevault.com", kind: "SecretEngine") {
refs: offshoot(group: $targetGroup, kind: $targetKind) {
namespace
name
}
}
}
}
type: GraphQL
ref:
group: kubevault.com
kind: VaultServer
requiredFeatureSets:
opscenter-secret-management:
- kubevault
- actions:
create: Never
displayMode: List
kind: Connection
name: SecretEngines
query:
byLabel: authz
type: GraphQL
ref:
group: engine.kubevault.com
kind: SecretEngine
requiredFeatureSets:
opscenter-secret-management:
- kubevault
- actions:
create: Never
displayMode: List
kind: Connection
name: ElasticSearchRoles
query:
byLabel: authz
type: GraphQL
ref:
group: engine.kubevault.com
kind: ElasticSearchRole
requiredFeatureSets:
opscenter-secret-management:
- kubevault
- actions:
create: Never
displayMode: List
kind: Connection
name: SecretAccessRequests
query:
byLabel: authz
type: GraphQL
ref:
group: engine.kubevault.com
kind: SecretAccessRequest
requiredFeatureSets:
opscenter-secret-management:
- kubevault
- name: Operations
sections:
- blocks:
- actions:
create: Always
displayMode: List
kind: Connection
name: Recent Operations
query:
byLabel: ops
type: GraphQL
ref:
group: ops.kubedb.com
kind: ElasticsearchOpsRequest
- actions:
create: Always
displayMode: List
kind: Connection
name: Recommendations
query:
byLabel: recommended_for
type: GraphQL
ref:
group: supervisor.appscode.com
kind: Recommendation
requiredFeatureSets:
opscenter-datastore:
- kubedb
opscenter-tools:
- supervisor
view:
name: supervisor.appscode.com-v1alpha1-recommendations
- name: Backup
requiredFeatureSets:
opscenter-backup:
- kubestash
sections:
- blocks:
- kind: Block
name: core.kubestash.com-v1alpha1-kubedb-backup
- name: Backup (Legacy)
requiredFeatureSets:
opscenter-backup:
- stash
- stash-opscenter
sections:
- blocks:
- kind: Block
name: stash.appscode.com-v1-kubedb-backup
- name: Monitoring
sections:
- blocks:
- kind: Block
name: monitoring.coreos.com-v1-kubedb-monitoring
- name: Security
sections:
- blocks:
- kind: Custom
name: CVE Report
name: CVE Report
requiredFeatureSets:
opscenter-security:
- scanner
- blocks:
- kind: Block
name: rbac.authorization.k8s.io-v1-accesscontrols
name: Access Control
- blocks:
- kind: Block
name: cert-manager.io-v1-tls
name: TLS
requiredFeatureSets:
opscenter-security:
- cert-manager
- blocks:
- kind: Block
name: policy-v1-policies
name: Policies
requiredFeatureSets:
opscenter-security:
- gatekeeper
- gatekeeper-templates
- gatekeeper-constraints
- gatekeeper-grafana-dashboards
- blocks:
- kind: Block
name: falco.appscode.com-v1alpha1-falcoevents-app
name: Runtime Security
requiredFeatureSets:
opscenter-security:
- falco
- falco-ui-server
resource:
group: kubedb.com
kind: Elasticsearch
name: elasticsearches
scope: Namespaced
version: v1
67 changes: 67 additions & 0 deletions hub/resourceoutlines/kubedb.com/v1/kafkas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceOutline
metadata:
creationTimestamp: null
labels:
k8s.io/group: kubedb.com
k8s.io/kind: Kafka
k8s.io/resource: kafkas
k8s.io/version: v1
name: kubedb.com-v1-kafkas
spec:
defaultLayout: true
pages:
- name: Overview
sections:
- blocks:
- kind: Block
name: kubedb.com-v1-kafkas
- name: Monitoring
sections:
- blocks:
- kind: Block
name: monitoring.coreos.com-v1-kubedb-monitoring
- name: Security
sections:
- blocks:
- kind: Custom
name: CVE Report
name: CVE Report
requiredFeatureSets:
opscenter-security:
- scanner
- blocks:
- kind: Block
name: rbac.authorization.k8s.io-v1-accesscontrols
name: Access Control
- blocks:
- kind: Block
name: cert-manager.io-v1-tls
name: TLS
requiredFeatureSets:
opscenter-security:
- cert-manager
- blocks:
- kind: Block
name: policy-v1-policies
name: Policies
requiredFeatureSets:
opscenter-security:
- gatekeeper
- gatekeeper-templates
- gatekeeper-constraints
- gatekeeper-grafana-dashboards
- blocks:
- kind: Block
name: falco.appscode.com-v1alpha1-falcoevents-app
name: Runtime Security
requiredFeatureSets:
opscenter-security:
- falco
- falco-ui-server
resource:
group: kubedb.com
kind: Kafka
name: kafkas
scope: Namespaced
version: v1
Loading

0 comments on commit 3c70c57

Please sign in to comment.