diff --git a/hub/resourceeditors/kubedb.com/v1/elasticsearches.yaml b/hub/resourceeditors/kubedb.com/v1/elasticsearches.yaml index 9ed64959e..afc46ab06 100644 --- a/hub/resourceeditors/kubedb.com/v1/elasticsearches.yaml +++ b/hub/resourceeditors/kubedb.com/v1/elasticsearches.yaml @@ -81,6 +81,20 @@ spec: type: image/svg+xml name: Restart operationId: create-opsrequest-restart + - editor: + name: opskubedbcom-elasticsearchopsrequest-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/resourceeditors/kubedb.com/v1/memcacheds.yaml b/hub/resourceeditors/kubedb.com/v1/memcacheds.yaml index 8eaec7e42..6456f24ef 100644 --- a/hub/resourceeditors/kubedb.com/v1/memcacheds.yaml +++ b/hub/resourceeditors/kubedb.com/v1/memcacheds.yaml @@ -23,6 +23,20 @@ spec: ui: actions: - items: + - editor: + name: opskubedbcom-memcachedopsrequest-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-memcachedopsrequest-editor sourceRef: @@ -84,6 +98,52 @@ spec: name: Vertical Scale operationId: create-opsrequest-verticalscaling name: Scaling + - items: + - editor: + name: autoscalingkubedbcom-memcachedautoscaler-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.8.0 + enforceQuota: true + flow: standalone-create + icons: + - src: https://cdn.appscode.com/k8s/icons/action-icons/compute.svg + type: image/svg+xml + name: Compute + operationId: create-opsrequest-compute + name: Autoscaling + - items: + - editor: + name: opskubedbcom-memcachedopsrequest-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/configure.svg + type: image/svg+xml + name: TLS Configure + operationId: create-opsrequest-reconfiguretls + - editor: + name: kubedbcom-memcached-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.8.0 + enforceQuota: false + flow: standalone-edit + icons: + - src: https://cdn.appscode.com/k8s/icons/action-icons/monitor.svg + type: image/svg+xml + name: Monitoring + operationId: edit-self-monitoring + name: Security & Monitoring editor: name: kubedbcom-memcached-editor sourceRef: diff --git a/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml b/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml index e8eaaf65d..adc82e11c 100644 --- a/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml +++ b/hub/resourceeditors/kubedb.com/v1/pgbouncers.yaml @@ -23,6 +23,20 @@ spec: ui: actions: - items: + - 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/version.svg + type: image/svg+xml + name: Update Version + operationId: create-opsrequest-upgrade - editor: name: opskubedbcom-pgbounceropsrequest-editor sourceRef: @@ -100,6 +114,22 @@ spec: name: Compute operationId: create-opsrequest-compute name: Autoscaling + - items: + - editor: + name: kubedbcom-pgbouncer-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.8.0 + enforceQuota: false + flow: standalone-edit + icons: + - src: https://cdn.appscode.com/k8s/icons/action-icons/monitor.svg + type: image/svg+xml + name: Monitoring + operationId: edit-self-monitoring + name: Security & Monitoring editor: name: kubedbcom-pgbouncer-editor sourceRef: diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/druids.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/druids.yaml index f70ef5748..e86394489 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/druids.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/druids.yaml @@ -114,7 +114,7 @@ spec: name: Autoscaling - items: - editor: - name: kubedbcom-mysql-editor + name: kubedbcom-druid-editor sourceRef: apiGroup: source.toolkit.fluxcd.io kind: HelmRepository diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml index d2567a5a4..73699a177 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/ferretdbs.yaml @@ -23,6 +23,20 @@ spec: ui: actions: - items: + - 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/version.svg + type: image/svg+xml + name: Update Version + operationId: create-opsrequest-upgrade - editor: name: opskubedbcom-ferretdbopsrequest-editor sourceRef: @@ -83,8 +97,10 @@ spec: type: image/svg+xml name: Vertical Scale operationId: create-opsrequest-verticalscaling + name: Scaling + - items: - editor: - name: opskubedbcom-ferretdbopsrequest-editor + name: autoscalingkubedbcom-ferretdbautoscaler-editor sourceRef: apiGroup: source.toolkit.fluxcd.io kind: HelmRepository @@ -93,11 +109,11 @@ spec: enforceQuota: true flow: standalone-create icons: - - src: https://cdn.appscode.com/k8s/icons/action-icons/expand.svg + - src: https://cdn.appscode.com/k8s/icons/action-icons/compute.svg type: image/svg+xml - name: Expand Volume - operationId: create-opsrequest-volumeexpansion - name: Scaling + name: Compute + operationId: create-opsrequest-compute + name: Autoscaling - items: - editor: name: opskubedbcom-ferretdbopsrequest-editor diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/memcacheds.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/memcacheds.yaml index 42c3733d2..96fc496aa 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/memcacheds.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/memcacheds.yaml @@ -21,6 +21,99 @@ spec: scope: Namespaced version: v1alpha2 ui: + actions: + - items: + - editor: + name: opskubedbcom-memcachedopsrequest-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-memcachedopsrequest-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: | + {{ not (gt .spec.replicas 1) }} + editor: + name: opskubedbcom-memcachedopsrequest-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.8.0 + enforceQuota: true + flow: standalone-create + icons: + - src: https://cdn.appscode.com/k8s/icons/action-icons/horizontal_scale.svg + type: image/svg+xml + name: Horizontal Scale + operationId: create-opsrequest-horizontalscaling + - editor: + name: opskubedbcom-memcachedopsrequest-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.8.0 + enforceQuota: true + flow: standalone-create + icons: + - src: https://cdn.appscode.com/k8s/icons/action-icons/vertical_scale.svg + type: image/svg+xml + name: Vertical Scale + operationId: create-opsrequest-verticalscaling + name: Scaling + - items: + - editor: + name: opskubedbcom-memcachedopsrequest-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/configure.svg + type: image/svg+xml + name: TLS Configure + operationId: create-opsrequest-reconfiguretls + - editor: + name: kubedbcom-mysql-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.8.0 + enforceQuota: false + flow: standalone-edit + icons: + - src: https://cdn.appscode.com/k8s/icons/action-icons/monitor.svg + type: image/svg+xml + name: Monitoring + operationId: edit-self-monitoring + name: Security & Monitoring editor: name: kubedbcom-memcached-editor sourceRef: diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/pgpools.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/pgpools.yaml index 4999545ed..89bda8c36 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/pgpools.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/pgpools.yaml @@ -83,20 +83,6 @@ spec: type: image/svg+xml name: Vertical Scale operationId: create-opsrequest-verticalscaling - - editor: - name: opskubedbcom-pgpoolopsrequest-editor - sourceRef: - apiGroup: source.toolkit.fluxcd.io - kind: HelmRepository - name: appscode-charts-oci - version: v0.8.0 - enforceQuota: true - flow: standalone-create - icons: - - src: https://cdn.appscode.com/k8s/icons/action-icons/expand.svg - type: image/svg+xml - name: Expand Volume - operationId: create-opsrequest-volumeexpansion name: Scaling - items: - editor: @@ -113,20 +99,6 @@ spec: type: image/svg+xml name: Compute operationId: create-opsrequest-compute - - editor: - name: autoscalingkubedbcom-pgpoolautoscaler-editor - sourceRef: - apiGroup: source.toolkit.fluxcd.io - kind: HelmRepository - name: appscode-charts-oci - version: v0.8.0 - enforceQuota: true - flow: standalone-create - icons: - - src: https://cdn.appscode.com/k8s/icons/action-icons/storage.svg - type: image/svg+xml - name: Storage - operationId: create-opsrequest-storage name: Autoscaling - items: - editor: diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/rabbitmqs.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/rabbitmqs.yaml index c16056d8d..b25a940eb 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/rabbitmqs.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/rabbitmqs.yaml @@ -22,6 +22,21 @@ spec: version: v1alpha2 ui: actions: + - items: + - editor: + name: opskubedbcom-rabbitmqopsrequest-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 - items: - editor: name: opskubedbcom-rabbitmqopsrequest-editor diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/solrs.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/solrs.yaml index 64626c3f6..daaea1fc4 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/solrs.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/solrs.yaml @@ -53,6 +53,20 @@ spec: operationId: create-restoresession name: Backups - items: + - editor: + name: opskubedbcom-solropsrequest-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-solropsrequest-editor sourceRef: diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/zookeepers.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/zookeepers.yaml index fba4730fa..c18ab6ee2 100644 --- a/hub/resourceeditors/kubedb.com/v1alpha2/zookeepers.yaml +++ b/hub/resourceeditors/kubedb.com/v1alpha2/zookeepers.yaml @@ -23,6 +23,20 @@ spec: ui: actions: - items: + - editor: + name: opskubedbcom-zookeeperopsrequest-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-zookeeperopsrequest-editor sourceRef: @@ -81,6 +95,20 @@ spec: type: image/svg+xml name: Vertical Scale operationId: create-opsrequest-verticalscaling + - editor: + name: opskubedbcom-zookeeperopsrequest-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.8.0 + enforceQuota: true + flow: standalone-create + icons: + - src: https://cdn.appscode.com/k8s/icons/action-icons/expand.svg + type: image/svg+xml + name: Expand Volume + operationId: create-opsrequest-volumeexpansion name: Scaling editor: name: kubedbcom-zookeeper-editor diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/kafkas.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/kafkas.yaml index 4b704d014..01e2eaf73 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/kafkas.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/kafkas.yaml @@ -106,6 +106,133 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Users + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Root User + query: + byLabel: auth_secret + type: GraphQL + ref: + group: "" + kind: Secret + view: + name: core-v1-secrets + - actions: + create: Never + displayMode: List + kind: Connection + name: AppBinding + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: appcatalog.appscode.com-v1alpha1-appbindings + - 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 + view: + name: kubevault.com-v1alpha2-vaultservers + - actions: + create: Always + displayMode: List + kind: Connection + name: SecretEngines + query: + byLabel: authz + type: GraphQL + ref: + group: engine.kubevault.com + kind: SecretEngine + requiredFeatureSets: + opscenter-secret-management: + - kubevault + view: + name: engine.kubevault.com-v1alpha1-secretengines + - actions: + create: Always + displayMode: List + kind: Connection + name: SecretAccessRequests + query: + byLabel: authz + type: GraphQL + ref: + group: engine.kubevault.com + kind: SecretAccessRequest + requiredFeatureSets: + opscenter-secret-management: + - kubevault + view: + name: engine.kubevault.com-v1alpha1-secretaccessrequests + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: KafkaOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-kafkaopsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml index 953f3efc9..4ec04fec2 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml @@ -333,7 +333,7 @@ spec: opscenter-datastore: - kubedb view: - name: ops.kubedb.com-v1alpha1-mongodbopsrequests-kubedb + name: ops.kubedb.com-v1alpha1-redisopsrequests-kubedb - actions: create: Never displayMode: List diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml index a7c1f8d64..408ecd283 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml @@ -106,6 +106,43 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: DruidOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-druidopsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml index fb3b45d30..0d20fbb9e 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml @@ -106,6 +106,43 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: FerretDBOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-ferretdbopsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml index 811288ef6..81028a35a 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml @@ -106,6 +106,43 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: MSSQLServerOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-mssqlserveropsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml index 49d461329..17c492a50 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml @@ -106,6 +106,43 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: PgpoolOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-pgpoolopsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml index d4cfb5685..7f8199ba5 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml @@ -106,6 +106,43 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: RabbitMQOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-rabbitmqopsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml index 7c134541c..cd08b79c5 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml @@ -106,6 +106,133 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Users + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Root User + query: + byLabel: auth_secret + type: GraphQL + ref: + group: "" + kind: Secret + view: + name: core-v1-secrets + - actions: + create: Never + displayMode: List + kind: Connection + name: AppBinding + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: appcatalog.appscode.com-v1alpha1-appbindings + - 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 + view: + name: kubevault.com-v1alpha2-vaultservers + - actions: + create: Always + displayMode: List + kind: Connection + name: SecretEngines + query: + byLabel: authz + type: GraphQL + ref: + group: engine.kubevault.com + kind: SecretEngine + requiredFeatureSets: + opscenter-secret-management: + - kubevault + view: + name: engine.kubevault.com-v1alpha1-secretengines + - actions: + create: Always + displayMode: List + kind: Connection + name: SecretAccessRequests + query: + byLabel: authz + type: GraphQL + ref: + group: engine.kubevault.com + kind: SecretAccessRequest + requiredFeatureSets: + opscenter-secret-management: + - kubevault + view: + name: engine.kubevault.com-v1alpha1-secretaccessrequests + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: SinglestoreOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-singlestoreopsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml index da4ed0079..01cfebf07 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml @@ -106,6 +106,133 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Users + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Root User + query: + byLabel: auth_secret + type: GraphQL + ref: + group: "" + kind: Secret + view: + name: core-v1-secrets + - actions: + create: Never + displayMode: List + kind: Connection + name: AppBinding + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: appcatalog.appscode.com-v1alpha1-appbindings + - 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 + view: + name: kubevault.com-v1alpha2-vaultservers + - actions: + create: Always + displayMode: List + kind: Connection + name: SecretEngines + query: + byLabel: authz + type: GraphQL + ref: + group: engine.kubevault.com + kind: SecretEngine + requiredFeatureSets: + opscenter-secret-management: + - kubevault + view: + name: engine.kubevault.com-v1alpha1-secretengines + - actions: + create: Always + displayMode: List + kind: Connection + name: SecretAccessRequests + query: + byLabel: authz + type: GraphQL + ref: + group: engine.kubevault.com + kind: SecretAccessRequest + requiredFeatureSets: + opscenter-secret-management: + - kubevault + view: + name: engine.kubevault.com-v1alpha1-secretaccessrequests + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: SolrOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-solropsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml index 5d0c1423c..c13c26937 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml @@ -106,6 +106,43 @@ spec: - monitoring-operator view: name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - name: Operations + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Recent Operations + query: + byLabel: ops + type: GraphQL + ref: + group: ops.kubedb.com + kind: ZooKeeperOpsRequest + requiredFeatureSets: + opscenter-datastore: + - kubedb + view: + name: ops.kubedb.com-v1alpha1-zookeeperopsrequests-kubedb + - actions: + create: Never + 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-kubedb - name: Security sections: - blocks: diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/clickhouseopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/clickhouseopsrequests.yaml new file mode 100644 index 000000000..ffd61d72a --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/clickhouseopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: ClickHouseOpsRequest + k8s.io/resource: clickhouseopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-clickhouseopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: ClickHouseOpsRequest + name: clickhouseopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/druidopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/druidopsrequests.yaml new file mode 100644 index 000000000..49f8aa29a --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/druidopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: DruidOpsRequest + k8s.io/resource: druidopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-druidopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: DruidOpsRequest + name: druidopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/ferretdbopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/ferretdbopsrequests.yaml new file mode 100644 index 000000000..45bb4fe89 --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/ferretdbopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: FerretDBOpsRequest + k8s.io/resource: ferretdbopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-ferretdbopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: FerretDBOpsRequest + name: ferretdbopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/kafkaopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/kafkaopsrequests.yaml new file mode 100644 index 000000000..c743e3db6 --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/kafkaopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: KafkaOpsRequest + k8s.io/resource: kafkaopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-kafkaopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: KafkaOpsRequest + name: kafkaopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/mssqlserveropsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/mssqlserveropsrequests.yaml new file mode 100644 index 000000000..b8a7f3727 --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/mssqlserveropsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: MSSQLServerOpsRequest + k8s.io/resource: mssqlserveropsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-mssqlserveropsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: MSSQLServerOpsRequest + name: mssqlserveropsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/perconaztradbopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/perconaztradbopsrequests.yaml new file mode 100644 index 000000000..8755c6976 --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/perconaztradbopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: PerconaXtraDBOpsRequest + k8s.io/resource: perconaxtradbopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-perconaxtradbopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: PerconaXtraDBOpsRequest + name: perconaxtradbopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/pgbounceropsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/pgbounceropsrequests.yaml new file mode 100644 index 000000000..4dd3bf2de --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/pgbounceropsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: PgBouncerOpsRequest + k8s.io/resource: pgbounceropsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-pgbounceropsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: PgBouncerOpsRequest + name: pgbounceropsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/pgpoolopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/pgpoolopsrequests.yaml new file mode 100644 index 000000000..8a9c5c525 --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/pgpoolopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: PgpoolOpsRequest + k8s.io/resource: pgpoolopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-pgpoolopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: PgpoolOpsRequest + name: pgpoolopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/rabbitmqopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/rabbitmqopsrequests.yaml new file mode 100644 index 000000000..24955deba --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/rabbitmqopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: RabbitMQOpsRequest + k8s.io/resource: rabbitmqopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-rabbitmqopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: RabbitMQOpsRequest + name: rabbitmqopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/singlestoreopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/singlestoreopsrequests.yaml new file mode 100644 index 000000000..89ee5e0de --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/singlestoreopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: SinglestoreOpsRequest + k8s.io/resource: singlestoreopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-singlestoreopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: SinglestoreOpsRequest + name: singlestoreopsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/solropsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/solropsrequests.yaml new file mode 100644 index 000000000..ae7cf224e --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/solropsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: SolrOpsRequest + k8s.io/resource: solropsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-solropsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: SolrOpsRequest + name: solropsrequests + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/zookeeperopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/zookeeperopsrequests.yaml new file mode 100644 index 000000000..481691ec9 --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/kubedb/zookeeperopsrequests.yaml @@ -0,0 +1,65 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: ZooKeeperOpsRequest + k8s.io/resource: zookeeperopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-zookeeperopsrequests-kubedb +spec: + columns: + - name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + type: string + - name: Namespace + pathTemplate: '{{ .metadata.namespace }}' + priority: 3 + type: string + - name: Type + pathTemplate: '{{ .spec.type }}' + priority: 3 + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Pending" | has $status }} + {{ $color = "gray" }} + {{ else if list "Progressing" | has $status }} + {{ $color = "info" }} + {{ else if list "Successful" | has $status }} + {{ $color = "success" }} + {{ else if list "WaitingForApproval" | has $status }} + {{ $color = "warning" }} + {{ else if list "Failed"| has $status }} + {{ $color = "danger" }} + {{ else if list "Approved" | has $status }} + {{ $color = "link" }} + {{ else if list "Denied"| has $status }} + {{ $color = "dark" }} + {{ end }} + {{- printf "%s" $color -}} + name: Status + pathTemplate: '{{ .status.phase }}' + priority: 3 + type: string + - name: Age + pathTemplate: '{{ .metadata.creationTimestamp }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' + type: integer + tooltip: + template: '{{ .metadata.creationTimestamp }}' + type: date + defaultView: false + resource: + group: ops.kubedb.com + kind: ZooKeeperOpsRequest + name: zookeeperopsrequests + scope: Namespaced + version: v1alpha1