From b79ad795155cdb1746510cba54c61f15f191d290 Mon Sep 17 00:00:00 2001 From: Arnob Kumar Saha Date: Thu, 31 Oct 2024 20:16:21 +0600 Subject: [PATCH] Add overview for memcached (#502) Signed-off-by: Arnob kumar saha --- .../kubedb.com/v1/perconaxtradbs.yaml | 14 ------ .../kubedb.com/v1/pgbouncers.yaml | 14 ------ .../kubedb.com/v1alpha2/ferretdbs.yaml | 14 ------ .../kubedb.com/v1/kubedb/memcacheds.yaml | 44 +++++++++++++++++-- 4 files changed, 41 insertions(+), 45 deletions(-) diff --git a/hub/resourceeditors/kubedb.com/v1/perconaxtradbs.yaml b/hub/resourceeditors/kubedb.com/v1/perconaxtradbs.yaml index 941b0d945..8b83a0458 100644 --- a/hub/resourceeditors/kubedb.com/v1/perconaxtradbs.yaml +++ b/hub/resourceeditors/kubedb.com/v1/perconaxtradbs.yaml @@ -23,20 +23,6 @@ spec: ui: actions: - items: - - editor: - name: opskubedbcom-perconaxtradbopsrequest-editor - sourceRef: - apiGroup: source.toolkit.fluxcd.io - kind: HelmRepository - name: appscode-charts-oci - version: v0.8.0 - enforceQuota: false - flow: standalone-create - icons: - - src: https://cdn.appscode.com/k8s/icons/action-icons/version.svg - type: image/svg+xml - name: Update Version - operationId: create-opsrequest-upgrade - editor: name: opskubedbcom-perconaxtradbopsrequest-editor sourceRef: diff --git a/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml b/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml index adc82e11c..1490b7a62 100644 --- a/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml +++ b/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml @@ -37,20 +37,6 @@ spec: type: image/svg+xml name: Update Version operationId: create-opsrequest-upgrade - - editor: - name: opskubedbcom-pgbounceropsrequest-editor - sourceRef: - apiGroup: source.toolkit.fluxcd.io - kind: HelmRepository - name: appscode-charts-oci - version: v0.8.0 - enforceQuota: false - flow: standalone-create - icons: - - src: https://cdn.appscode.com/k8s/icons/action-icons/restart.svg - type: image/svg+xml - name: Restart - operationId: create-opsrequest-restart - editor: name: opskubedbcom-pgbounceropsrequest-editor sourceRef: diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml index 73699a177..c92efa66e 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml @@ -51,20 +51,6 @@ spec: type: image/svg+xml name: Restart operationId: create-opsrequest-restart - - editor: - name: opskubedbcom-ferretdbopsrequest-editor - sourceRef: - apiGroup: source.toolkit.fluxcd.io - kind: HelmRepository - name: appscode-charts-oci - version: v0.8.0 - enforceQuota: false - flow: standalone-create - icons: - - src: https://cdn.appscode.com/k8s/icons/action-icons/reconfigure.svg - type: image/svg+xml - name: Reconfigure - operationId: create-opsrequest-reconfigure name: Operations - items: - disabledTemplate: | diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/memcacheds.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/memcacheds.yaml index a08badc3c..425437c64 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/memcacheds.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/memcacheds.yaml @@ -11,11 +11,49 @@ metadata: spec: defaultLayout: false pages: - - name: Basic + - name: Overview sections: - blocks: - - kind: Block - name: kubedb.com-v1-memcacheds + - actions: + create: Never + displayMode: List + kind: Connection + name: Nodes + query: + raw: |- + query Find($src: String!, $targetGroup: String!, $targetKind: String!) { + find(oid: $src) { + offshoot(group: "", kind: "Pod") { + refs: view(group: $targetGroup, kind: $targetKind) { + namespace + name + } + } + } + } + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: PodView + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-memcacheds + info: + actions: + create: Never + displayMode: List + kind: Connection + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + requiredFeatureSets: + opscenter-datastore: + - kubedb - name: Operations sections: - blocks: