Skip to content
Draft

wip #1921

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions charts/kubedb-perses-dashboards/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
13 changes: 13 additions & 0 deletions charts/kubedb-perses-dashboards/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v2
name: kubedb-perses-dashboards
description: A Helm chart for kubedb-perses-dashboards by AppsCode
type: application
version: v2025.10.17
appVersion: v2025.10.17
home: https://github.com/kubedb
icon: https://cdn.appscode.com/images/products/kubedb/kubedb-icon.png
sources:
- https://github.com/kubedb/installer
maintainers:
- name: appscode
email: [email protected]
93 changes: 93 additions & 0 deletions charts/kubedb-perses-dashboards/README.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions charts/kubedb-perses-dashboards/ci/ci-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
grafana:
name: "grafana-appbinding"
dashboard:
replacements:
job=\"kube-state-metrics\": job=\"kubernetes-service-endpoints\"
job=\"kubelet\": job=\"kubernetes-nodes-cadvisor\"
job=\"repl-stats\": job=\"kubedb-databases\"
158 changes: 158 additions & 0 deletions charts/kubedb-perses-dashboards/crds/openviz.dev_persesdashboards.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: openviz
name: persesdashboards.openviz.dev
spec:
group: openviz.dev
names:
kind: PersesDashboard
listKind: PersesDashboardList
plural: persesdashboards
singular: persesdashboard
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.model.title
name: Title
type: string
- jsonPath: .status.phase
name: Status
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
model:
type: object
x-kubernetes-preserve-unknown-fields: true
overwrite:
description: Overwrite defines the existing grafanadashboard with
the same name(if any) should be overwritten or not
type: boolean
persesRef:
description: PersesRef defines the grafana app binding name for the
GrafanaDashboard
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
required:
- name
type: object
templatize:
description: Templatize defines the fields which supports templating
in GrafanaDashboard Model json
properties:
datasource:
type: boolean
title:
type: boolean
type: object
type: object
status:
properties:
conditions:
description: Represents the latest available observations of a GrafanaDashboard
current state.
items:
description: Condition defines an observation of a object operational
state.
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another. This should be when the underlying condition changed.
If that is not known, then using the time when the API field
changed is acceptable.
format: date-time
type: string
message:
description: A human-readable message indicating details about
the transition. This field may be empty.
type: string
observedGeneration:
description: If set, this represents the .metadata.generation
that the condition was set based upon. For instance, if .metadata.generation
is currently 12, but the .status.condition[x].observedGeneration
is 9, the condition is out of date with respect to the current
state of the instance.
format: int64
type: integer
reason:
description: The reason for the condition's last transition
in CamelCase. The specific API may choose whether this field
is considered a guaranteed API. This field may not be empty.
type: string
severity:
description: Severity provides an explicit classification of
Reason code, so the users or machines can immediately understand
the current situation and act accordingly. The Severity field
MUST be set only when Status=False.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of condition in CamelCase or in foo.example.com/CamelCase.
Many .condition.type values are consistent across resources
like Available, but because arbitrary util can be useful (see
.node.status.util), the ability to deconflict is important.
type: string
required:
- lastTransitionTime
- status
- type
type: object
type: array
dashboard:
description: Dashboard indicates the updated grafanadashboard database
properties:
folderName:
type: string
id:
type: string
projectName:
type: string
state:
type: string
type: object
observedGeneration:
description: ObservedGeneration is the most recent generation observed
for this resource. It corresponds to the resource's generation,
which is updated on mutation by the API Server.
format: int64
type: integer
phase:
description: Phase indicates the state this Vault cluster jumps in.
type: string
reason:
description: The reason for the current phase
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
Loading
Loading