From a1bb1b0b7078cc3a9035a6a36ea893f556366291 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Thu, 9 May 2024 16:58:50 +0600 Subject: [PATCH] Add layouts for new dbs Signed-off-by: Tamal Saha --- go.mod | 2 +- go.sum | 4 +- .../resource-metadata/hub/helm.go | 9 + .../kubedb.com/v1alpha2/druids.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/ferretdbs.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/mssqlservers.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/pgpools.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/rabbitmqs.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/singlestores.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/solrs.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/zookeepers.yaml | 106 +++++++++++ .../kubedb.com/v1alpha2/druids.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/ferretdbs.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/mssqlservers.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/pgpools.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/rabbitmqs.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/singlestores.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/solrs.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/zookeepers.yaml | 96 ++++++++++ .../kubedb.com/v1alpha2/druids.yaml | 67 +++++++ .../kubedb.com/v1alpha2/ferretdbs.yaml | 67 +++++++ .../kubedb.com/v1alpha2/kubedb/druids.yaml | 165 ++++++++++++++++++ .../kubedb.com/v1alpha2/kubedb/ferretdbs.yaml | 165 ++++++++++++++++++ .../v1alpha2/kubedb/mssqlservers.yaml | 165 ++++++++++++++++++ .../kubedb.com/v1alpha2/kubedb/pgpool.yaml | 165 ++++++++++++++++++ .../kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml | 165 ++++++++++++++++++ .../v1alpha2/kubedb/singlestores.yaml | 165 ++++++++++++++++++ .../kubedb.com/v1alpha2/kubedb/solrs.yaml | 165 ++++++++++++++++++ .../v1alpha2/kubedb/zookeepers.yaml | 165 ++++++++++++++++++ .../kubedb.com/v1alpha2/mssqlservers.yaml | 67 +++++++ .../kubedb.com/v1alpha2/pgpools.yaml | 67 +++++++ .../kubedb.com/v1alpha2/rabbitmqs.yaml | 67 +++++++ .../kubedb.com/v1alpha2/singlestores.yaml | 67 +++++++ .../kubedb.com/v1alpha2/solrs.yaml | 67 +++++++ .../kubedb.com/v1alpha2/zookeepers.yaml | 67 +++++++ .../v1alpha1/kubedb/podviews-druids.yaml | 90 ++++++++++ .../v1alpha1/kubedb/podviews-ferretdbs.yaml | 90 ++++++++++ .../kubedb/podviews-mssqlservers.yaml | 90 ++++++++++ .../v1alpha1/kubedb/podviews-pgpools.yaml | 90 ++++++++++ .../v1alpha1/kubedb/podviews-rabbitmqs.yaml | 90 ++++++++++ .../kubedb/podviews-singlestores.yaml | 90 ++++++++++ .../v1alpha1/kubedb/podviews-solrs.yaml | 90 ++++++++++ .../v1alpha1/kubedb/podviews-zookeepers.yaml | 90 ++++++++++ vendor/modules.txt | 2 +- 44 files changed, 4205 insertions(+), 4 deletions(-) create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/druids.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/ferretdbs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/mssqlservers.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/pgpools.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/rabbitmqs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/singlestores.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/solrs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/zookeepers.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/druids.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/ferretdbs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mssqlservers.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/pgpools.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/rabbitmqs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/singlestores.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/solrs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/zookeepers.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-druids.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-ferretdbs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-mssqlservers.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-pgpools.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-rabbitmqs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-singlestores.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-solrs.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-zookeepers.yaml diff --git a/go.mod b/go.mod index a805aeb8a5..f271ac68fc 100644 --- a/go.mod +++ b/go.mod @@ -48,7 +48,7 @@ require ( kmodules.xyz/custom-resources v0.29.1 kmodules.xyz/go-containerregistry v0.0.12 kmodules.xyz/monitoring-agent-api v0.29.0 - kmodules.xyz/resource-metadata v0.18.4-0.20240508091636-af957419033d + kmodules.xyz/resource-metadata v0.18.5-0.20240509105622-88a4ee7486a1 kmodules.xyz/resource-metrics v0.29.5 kmodules.xyz/sets v0.29.0 kubeops.dev/falco-ui-server v0.0.3 diff --git a/go.sum b/go.sum index 7bf9e699e3..6612548c93 100644 --- a/go.sum +++ b/go.sum @@ -3490,8 +3490,8 @@ kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9 kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI= kmodules.xyz/offshoot-api v0.29.0 h1:GHLhxxT9jU1N8+FvOCCeJNyU5g0duYS46UGrs6AHNLY= kmodules.xyz/offshoot-api v0.29.0/go.mod h1:5NxhBblXoDHWStx9HCDJR2KFTwYjEZ7i1Id3jelIunw= -kmodules.xyz/resource-metadata v0.18.4-0.20240508091636-af957419033d h1:bx0zkG52i/zispkGB9gudcqVuoawzeeGs6p8P9Js5s4= -kmodules.xyz/resource-metadata v0.18.4-0.20240508091636-af957419033d/go.mod h1:HY6FmDDzQOEHfIEHRiqwNXVyof3uRIDtLSu0Yi1mIBw= +kmodules.xyz/resource-metadata v0.18.5-0.20240509105622-88a4ee7486a1 h1:Hlrrot/ZlODo4qKfSt/R83Qz73S1DwXPotfY3ykUfQY= +kmodules.xyz/resource-metadata v0.18.5-0.20240509105622-88a4ee7486a1/go.mod h1:HY6FmDDzQOEHfIEHRiqwNXVyof3uRIDtLSu0Yi1mIBw= kmodules.xyz/resource-metrics v0.29.5 h1:ciuvRXuXsloLNW/JwkubqbYySsvHvHr6/nhkTL5Sf1o= kmodules.xyz/resource-metrics v0.29.5/go.mod h1:OuG/QobZ7o8GFHl/u3lqaUR0fDZDegxtV8Vdh+MNBD4= kmodules.xyz/sets v0.29.0 h1:ZX/qOECzUob95JhhRtngJElHSlJ1UNNdwK4hTEy+nl0= diff --git a/vendor/kmodules.xyz/resource-metadata/hub/helm.go b/vendor/kmodules.xyz/resource-metadata/hub/helm.go index 2c81ed999b..132dcfec2e 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/helm.go +++ b/vendor/kmodules.xyz/resource-metadata/hub/helm.go @@ -25,6 +25,7 @@ import ( "kmodules.xyz/resource-metadata/apis/shared" fluxsrc "github.com/fluxcd/source-controller/api/v1beta2" + "k8s.io/apimachinery/pkg/runtime/schema" "sigs.k8s.io/controller-runtime/pkg/client" chartsapi "x-helm.dev/apimachinery/apis/charts/v1alpha1" releasesapi "x-helm.dev/apimachinery/apis/releases/v1alpha1" @@ -146,3 +147,11 @@ func HelmCreateNamespace(kc client.Client) bool { } return true } + +func IsFeaturesetGR(gr schema.GroupResource) bool { + return gr.Group == "ui.k8s.appscode.com" && gr.Resource == "featuresets" +} + +func IsFeaturesetGK(gk schema.GroupKind) bool { + return gk.Group == "ui.k8s.appscode.com" && gk.Kind == "FeatureSet" +} diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/druids.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/druids.yaml new file mode 100644 index 0000000000..de586a3b98 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/druids.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Druid + k8s.io/resource: druids + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-druids +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: Druid Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: DruidVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: Druid + name: druids + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/ferretdbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/ferretdbs.yaml new file mode 100644 index 0000000000..fcf007dc42 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/ferretdbs.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: FerretDB + k8s.io/resource: ferretdbs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-ferretdbs +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: FerretDB Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: FerretDBVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: FerretDB + name: ferretdbs + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/mssqlservers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/mssqlservers.yaml new file mode 100644 index 0000000000..39ad355ec4 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/mssqlservers.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: MSSQLServer + k8s.io/resource: mssqlservers + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-mssqlservers +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: MSSQLServer Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: MSSQLServerVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: MSSQLServer + name: mssqlservers + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/pgpools.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/pgpools.yaml new file mode 100644 index 0000000000..821c9e35ac --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/pgpools.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Pgpool + k8s.io/resource: pgpools + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-pgpools +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: Pgpool Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: PgpoolVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: Pgpool + name: pgpools + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/rabbitmqs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/rabbitmqs.yaml new file mode 100644 index 0000000000..a097d3f9d4 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/rabbitmqs.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: RabbitMQ + k8s.io/resource: rabbitmqs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-rabbitmqs +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: RabbitMQ Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: RabbitMQVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: RabbitMQ + name: rabbitmqs + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/singlestores.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/singlestores.yaml new file mode 100644 index 0000000000..ea1ef46fc4 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/singlestores.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Singlestore + k8s.io/resource: singlestores + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-singlestores +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: Singlestore Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: SinglestoreVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: Singlestore + name: singlestores + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/solrs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/solrs.yaml new file mode 100644 index 0000000000..353f10b0d7 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/solrs.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Solr + k8s.io/resource: solrs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-solrs +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: Solr Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: SolrVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: Solr + name: solrs + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/zookeepers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/zookeepers.yaml new file mode 100644 index 0000000000..50db9c6762 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/kubedb.com/v1alpha2/zookeepers.yaml @@ -0,0 +1,106 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceBlockDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: ZooKeeper + k8s.io/resource: zookeepers + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-zookeepers +spec: + blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Client Connections + query: + byLabel: connect_via + type: GraphQL + ref: + group: appcatalog.appscode.com + kind: AppBinding + - actions: + create: Never + displayMode: List + kind: Connection + name: ZooKeeper Version + query: + byLabel: catalog + type: GraphQL + ref: + group: catalog.kubedb.com + kind: ZooKeeperVersion + - actions: + create: Never + displayMode: List + kind: Connection + name: StatefulSets + query: + byLabel: offshoot + type: GraphQL + ref: + group: apps + kind: StatefulSet + - actions: + create: Never + displayMode: List + kind: Connection + name: Pods + query: + byLabel: offshoot + type: GraphQL + ref: + group: "" + kind: Pod + - actions: + create: Never + displayMode: List + kind: Connection + name: Services + query: + byLabel: exposed_by + type: GraphQL + ref: + group: "" + kind: Service + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: config + type: GraphQL + ref: + group: "" + kind: Secret + - actions: + create: Never + displayMode: List + kind: Connection + name: PersistentVolumeClaims + query: + byLabel: storage + type: GraphQL + ref: + group: "" + kind: PersistentVolumeClaim + - actions: + create: Never + displayMode: List + kind: Connection + name: Pod Disruption Budgets + query: + byLabel: policy + type: GraphQL + ref: + group: policy + kind: PodDisruptionBudget + resource: + group: kubedb.com + kind: ZooKeeper + name: zookeepers + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml index 7a3d017526..6d1ed6225f 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-druids spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: druids.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: DruidVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: DruidInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: DruidNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: DruidSchemaOverview + type: MatchName resource: group: kubedb.com kind: Druid diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml index 820e17993d..3d10f4426b 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-ferretdbs spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: ferretdbs.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: FerretDBVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: FerretDBInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: FerretDBNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: FerretDBSchemaOverview + type: MatchName resource: group: kubedb.com kind: FerretDB diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml index 99885d8105..3f010cf02c 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-mssqlservers spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: mssqlservers.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: MSSQLServerVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: MSSQLServerInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: MSSQLServerNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: MSSQLServerSchemaOverview + type: MatchName resource: group: kubedb.com kind: MSSQLServer diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml index faceaf9e35..dc032911e2 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-pgpools spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: pgpools.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: PgpoolVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: PgpoolInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: PgpoolNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: PgpoolSchemaOverview + type: MatchName resource: group: kubedb.com kind: Pgpool diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml index 476ddb8140..1260aa5bf4 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-rabbitmqs spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: rabbitmqs.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: KafkaVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: RabbitMQInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: RabbitMQNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: RabbitMQSchemaOverview + type: MatchName resource: group: kubedb.com kind: RabbitMQ diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml index 02877dd72b..362a3fb65a 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-singlestores spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: singlestores.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: KafkaVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: SinglestoreInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: SinglestoreNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: SinglestoreSchemaOverview + type: MatchName resource: group: kubedb.com kind: Singlestore diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml index e6c2782499..41ffad03b9 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-solrs spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: solrs.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: KafkaVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: SolrInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: SolrNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: SolrSchemaOverview + type: MatchName resource: group: kubedb.com kind: Solr diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml index e80061701e..87f39bf834 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml @@ -9,6 +9,102 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-zookeepers spec: + connections: + - labels: + - offshoot + level: Controller + namespace: + path: metadata.namespace + selector: + matchLabels: + app.kubernetes.io/instance: '{.metadata.name}' + app.kubernetes.io/managed-by: kubedb.com + app.kubernetes.io/name: zookeepers.kubedb.com + target: + apiVersion: apps/v1 + kind: StatefulSet + type: MatchSelector + - labels: + - connect_via + level: Controller + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: appcatalog.appscode.com/v1alpha1 + kind: AppBinding + type: MatchName + - labels: + - catalog + references: + - '{.spec.version}' + target: + apiVersion: catalog.kubedb.com/v1alpha1 + kind: KafkaVersion + type: MatchRef + - labels: + - cert_issuer + namespace: + path: metadata.namespace + references: + - '{.spec.tls.issuerRef.name},{.metadata.namespace}' + target: + apiVersion: cert-manager.io/v1 + kind: Issuer + type: MatchRef + - labels: + - cert_issuer + references: + - '{.spec.tls.issuerRef.name}' + target: + apiVersion: cert-manager.io/v1 + kind: ClusterIssuer + type: MatchRef + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResource + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}~Kafka.kubedb.com' + namespace: + path: metadata.namespace + target: + apiVersion: core.k8s.appscode.com/v1alpha1 + kind: GenericResourceService + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: ZooKeeperInsight + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: ZooKeeperNodesStats + type: MatchName + - labels: + - view + nameTemplate: '{.metadata.name}' + namespace: + path: metadata.namespace + target: + apiVersion: ui.kubedb.com/v1alpha1 + kind: ZooKeeperSchemaOverview + type: MatchName resource: group: kubedb.com kind: ZooKeeper diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/druids.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/druids.yaml new file mode 100644 index 0000000000..4039ed9eeb --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/druids.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Druid + k8s.io/resource: druids + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-druids +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-druids + - 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: Druid + name: druids + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/ferretdbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/ferretdbs.yaml new file mode 100644 index 0000000000..bfbaabeae6 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/ferretdbs.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: FerretDB + k8s.io/resource: ferretdbs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-ferretdbs +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-ferretdbs + - 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: FerretDB + name: ferretdbs + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml new file mode 100644 index 0000000000..62fc175d2e --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/druids.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Druid + k8s.io/resource: druids + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-druids-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-kafkas + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: druids + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-druids + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: Druid + name: druids + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml new file mode 100644 index 0000000000..fa1a26029b --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/ferretdbs.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: FerretDB + k8s.io/resource: ferretdbs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-ferretdbs-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-ferretdbs + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: ferretdbs + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-ferretdbs + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: FerretDB + name: ferretdbs + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml new file mode 100644 index 0000000000..bf4e715d53 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mssqlservers.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: MSSQLServer + k8s.io/resource: mssqlservers + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-mssqlservers-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-mssqlservers + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: mssqlservers + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-mssqlservers + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: MSSQLServer + name: mssqlservers + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml new file mode 100644 index 0000000000..ae5be95544 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/pgpool.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Pgpool + k8s.io/resource: pgpools + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-pgpools-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-pgpools + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: pgpools + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-pgpools + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: Pgpool + name: pgpools + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml new file mode 100644 index 0000000000..2cd4d13f9d --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/rabbitmqs.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: RabbitMQ + k8s.io/resource: rabbitmqs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-rabbitmqs-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-rabbitmqs + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: rabbitmqs + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-rabbitmqs + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: RabbitMQ + name: rabbitmqs + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml new file mode 100644 index 0000000000..0805c9ed0d --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/singlestores.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Singlestore + k8s.io/resource: singlestores + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-singlestores-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-singlestores + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: singlestores + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-singlestores + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: Singlestore + name: singlestores + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml new file mode 100644 index 0000000000..33a0e9137c --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/solrs.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Solr + k8s.io/resource: solrs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-solrs-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-solrs + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: solrs + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-solrs + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: Solr + name: solrs + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml new file mode 100644 index 0000000000..7b8b71ef5d --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/zookeepers.yaml @@ -0,0 +1,165 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: ZooKeeper + k8s.io/resource: zookeepers + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-zookeepers-kubedb +spec: + defaultLayout: false + header: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResource + view: + name: core.k8s.appscode.com-v1alpha1-genericresources-kubedb + pages: + - name: Overview + sections: + - blocks: + - 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-zookeepers + 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: Insights + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + sections: + - blocks: + - actions: + create: Never + displayMode: List + fieldPath: .response.dashboards + kind: Connection + name: Grafana Dashboards + query: + raw: | + request: + sourceLocator: + resource: + group: kubedb.com + name: zookeepers + version: v1alpha2 + ref: + name: {{ .name }} + namespace: {{ .namespace }} + name: kubedb.com-v1alpha2-zookeepers + type: REST + ref: + group: meta.k8s.appscode.com + kind: RenderDashboard + requiredFeatureSets: + opscenter-datastore: + - kubedb + - kubedb-opscenter + opscenter-monitoring: + - monitoring-operator + view: + name: ui.k8s.appscode.com-v1alpha1-resourcedashboards-urls + - 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: ZooKeeper + name: zookeepers + scope: Namespaced + version: v1alpha2 + tabBar: + actions: + create: Never + displayMode: Field + kind: Connection + query: + byLabel: view + type: GraphQL + ref: + group: core.k8s.appscode.com + kind: GenericResourceService + view: + name: core.k8s.appscode.com-v1alpha1-genericresourceservices-kubedb diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mssqlservers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mssqlservers.yaml new file mode 100644 index 0000000000..283a2af916 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mssqlservers.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: MSSQLServer + k8s.io/resource: mssqlservers + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-mssqlservers +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-mssqlservers + - 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: MSSQLServer + name: mssqlservers + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/pgpools.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/pgpools.yaml new file mode 100644 index 0000000000..3fbc098dc5 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/pgpools.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Pgpool + k8s.io/resource: pgpools + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-pgpools +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-pgpools + - 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: Pgpool + name: pgpools + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/rabbitmqs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/rabbitmqs.yaml new file mode 100644 index 0000000000..28a3d38e4e --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/rabbitmqs.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: RabbitMQ + k8s.io/resource: rabbitmqs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-rabbitmqs +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-rabbitmqs + - 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: RabbitMQ + name: rabbitmqs + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/singlestores.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/singlestores.yaml new file mode 100644 index 0000000000..bca5105d60 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/singlestores.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Singlestore + k8s.io/resource: singlestores + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-singlestores +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-singlestores + - 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: Singlestore + name: singlestores + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/solrs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/solrs.yaml new file mode 100644 index 0000000000..479889add2 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/solrs.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Solr + k8s.io/resource: solrs + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-solrs +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-solrs + - 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: Solr + name: solrs + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/zookeepers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/zookeepers.yaml new file mode 100644 index 0000000000..d7e363fc58 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/zookeepers.yaml @@ -0,0 +1,67 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: ZooKeeper + k8s.io/resource: zookeepers + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-zookeepers +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: kubedb.com-v1alpha2-zookeepers + - 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: ZooKeeper + name: zookeepers + scope: Namespaced + version: v1alpha2 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-druids.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-druids.yaml new file mode 100644 index 0000000000..c3d07013a9 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-druids.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-druids +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-druids-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-ferretdbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-ferretdbs.yaml new file mode 100644 index 0000000000..adb3db532f --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-ferretdbs.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-ferretdbs +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-ferretdbs-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-mssqlservers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-mssqlservers.yaml new file mode 100644 index 0000000000..a0875c992a --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-mssqlservers.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-mssqlservers +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-mssqlservers-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-pgpools.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-pgpools.yaml new file mode 100644 index 0000000000..0b691720b1 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-pgpools.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-pgpools +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-pgpools-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-rabbitmqs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-rabbitmqs.yaml new file mode 100644 index 0000000000..44f2795cee --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-rabbitmqs.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-rabbitmqs +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-rabbitmqs-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-singlestores.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-singlestores.yaml new file mode 100644 index 0000000000..81f9cae5d9 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-singlestores.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-singlestores +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-singlestores-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-solrs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-solrs.yaml new file mode 100644 index 0000000000..328ec7c3e4 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-solrs.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-solrs +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-solrs-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-zookeepers.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-zookeepers.yaml new file mode 100644 index 0000000000..da5d800ab8 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-zookeepers.yaml @@ -0,0 +1,90 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.k8s.appscode.com + k8s.io/kind: PodView + k8s.io/resource: podviews + k8s.io/version: v1alpha1 + name: core.k8s.appscode.com-v1alpha1-podviews-kubedb-zookeepers +spec: + columns: + - format: name + link: + template: | + {{ $name := .metadata.name }} + {{ $namespace := .metadata.namespace }} + {{- printf "/${username}/${clustername}/core/v1/pods/%s?namespace=%s" $name $namespace -}} + name: Name + pathTemplate: '{{ .metadata.name }}' + priority: 3 + sort: + enable: true + template: '{{ .metadata.name }}' + type: string + type: string + - name: Role + pathTemplate: '{{ index .metadata.labels `kubedb.com/role` | default `-` | upper}}' + priority: 3 + type: string + - name: CPU (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.cpu }}{{.spec.resources.usage.cpu}} / {{ default `*` .spec.resources.limits.cpu }}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Memory (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.memory }}{{.spec.resources.usage.memory}} / {{default `*` .spec.resources.limits.memory}}{{ end }}' + priority: 3 + textAlign: center + type: string + - name: Storage (usage/limit) + pathTemplate: '{{ if .spec.resources.usage.storage }}{{.spec.resources.usage.storage}} / {{default `*` .spec.resources.limits.storage}}{{ end }}' + priority: 3 + textAlign: center + type: string + - color: + template: | + {{ $status := .status.phase }} + {{ $color := "gray" }} + {{ if list "Running" "Succeeded" | has $status }} + {{ $color = "success" }} + {{ else if list "Pending" | has $status }} + {{ $color = "info" }} + {{ else if list "Failed" | has $status }} + {{ $color = "danger" }} + {{ else if list "Unknown" | has $status }} + {{ $color = "warning" }} + {{ end }} + {{- printf "%s is-light" $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 + type: date + - dashboard: + name: kubedb.com-v1alpha2-zookeepers-pod + name: Dashboard + priority: 4 + textAlign: center + type: string + - exec: {} + name: Connect + pathTemplate: '{{ .metadata.name }}' + priority: 4 + textAlign: center + type: string + defaultView: false + resource: + group: core.k8s.appscode.com + kind: PodView + name: podviews + scope: Namespaced + version: v1alpha1 diff --git a/vendor/modules.txt b/vendor/modules.txt index 0061d86df5..82c4942067 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1959,7 +1959,7 @@ kmodules.xyz/monitoring-agent-api/client ## explicit; go 1.21.5 kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v2 -# kmodules.xyz/resource-metadata v0.18.4-0.20240508091636-af957419033d +# kmodules.xyz/resource-metadata v0.18.5-0.20240509105622-88a4ee7486a1 ## explicit; go 1.22.0 kmodules.xyz/resource-metadata/apis/core/install kmodules.xyz/resource-metadata/apis/core/v1alpha1