Skip to content

Commit 13f9c9e

Browse files
RokibulHasan7tamalsaha
authored andcommitted
wip
Signed-off-by: RokibulHasan7 <[email protected]>
1 parent 2c8b0c1 commit 13f9c9e

File tree

14 files changed

+3526
-0
lines changed

14 files changed

+3526
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: v2
2+
name: kubedb-perses-dashboards
3+
description: A Helm chart for kubedb-perses-dashboards by AppsCode
4+
type: application
5+
version: v2025.10.17
6+
appVersion: v2025.10.17
7+
home: https://github.com/kubedb
8+
icon: https://cdn.appscode.com/images/products/kubedb/kubedb-icon.png
9+
sources:
10+
- https://github.com/kubedb/installer
11+
maintainers:
12+
- name: appscode
13+

charts/kubedb-perses-dashboards/README.md

Lines changed: 93 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
grafana:
2+
name: "grafana-appbinding"
3+
dashboard:
4+
replacements:
5+
job=\"kube-state-metrics\": job=\"kubernetes-service-endpoints\"
6+
job=\"kubelet\": job=\"kubernetes-nodes-cadvisor\"
7+
job=\"repl-stats\": job=\"kubedb-databases\"
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
labels:
5+
app.kubernetes.io/name: openviz
6+
name: grafanadashboards.openviz.dev
7+
spec:
8+
group: openviz.dev
9+
names:
10+
categories:
11+
- grafana
12+
- openviz
13+
- appscode
14+
kind: GrafanaDashboard
15+
listKind: GrafanaDashboardList
16+
plural: grafanadashboards
17+
singular: grafanadashboard
18+
scope: Namespaced
19+
versions:
20+
- additionalPrinterColumns:
21+
- jsonPath: .spec.model.title
22+
name: Title
23+
type: string
24+
- jsonPath: .status.phase
25+
name: Status
26+
type: string
27+
- jsonPath: .metadata.creationTimestamp
28+
name: Age
29+
type: date
30+
name: v1alpha1
31+
schema:
32+
openAPIV3Schema:
33+
properties:
34+
apiVersion:
35+
type: string
36+
kind:
37+
type: string
38+
metadata:
39+
properties:
40+
name:
41+
maxLength: 63
42+
pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$
43+
type: string
44+
type: object
45+
spec:
46+
properties:
47+
grafanaRef:
48+
properties:
49+
name:
50+
type: string
51+
namespace:
52+
type: string
53+
required:
54+
- name
55+
type: object
56+
model:
57+
type: object
58+
x-kubernetes-preserve-unknown-fields: true
59+
overwrite:
60+
type: boolean
61+
templatize:
62+
properties:
63+
datasource:
64+
type: boolean
65+
title:
66+
type: boolean
67+
type: object
68+
type: object
69+
status:
70+
properties:
71+
conditions:
72+
items:
73+
properties:
74+
lastTransitionTime:
75+
format: date-time
76+
type: string
77+
message:
78+
type: string
79+
observedGeneration:
80+
format: int64
81+
type: integer
82+
reason:
83+
type: string
84+
severity:
85+
type: string
86+
status:
87+
type: string
88+
type:
89+
type: string
90+
required:
91+
- lastTransitionTime
92+
- status
93+
- type
94+
type: object
95+
type: array
96+
dashboard:
97+
properties:
98+
id:
99+
format: int64
100+
type: integer
101+
orgID:
102+
format: int64
103+
type: integer
104+
slug:
105+
type: string
106+
state:
107+
type: string
108+
uid:
109+
type: string
110+
url:
111+
type: string
112+
version:
113+
format: int64
114+
type: integer
115+
type: object
116+
observedGeneration:
117+
format: int64
118+
type: integer
119+
phase:
120+
type: string
121+
reason:
122+
type: string
123+
type: object
124+
type: object
125+
served: true
126+
storage: true
127+
subresources:
128+
status: {}
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app.kubernetes.io/name: openviz
7+
name: persesdashboards.openviz.dev
8+
spec:
9+
group: openviz.dev
10+
names:
11+
kind: PersesDashboard
12+
listKind: PersesDashboardList
13+
plural: persesdashboards
14+
singular: persesdashboard
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .spec.model.title
19+
name: Title
20+
type: string
21+
- jsonPath: .status.phase
22+
name: Status
23+
type: string
24+
- jsonPath: .metadata.creationTimestamp
25+
name: Age
26+
type: date
27+
name: v1alpha1
28+
schema:
29+
openAPIV3Schema:
30+
properties:
31+
apiVersion:
32+
description: 'APIVersion defines the versioned schema of this representation
33+
of an object. Servers should convert recognized schemas to the latest
34+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
35+
type: string
36+
kind:
37+
description: 'Kind is a string value representing the REST resource this
38+
object represents. Servers may infer this from the endpoint the client
39+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
40+
type: string
41+
metadata:
42+
type: object
43+
spec:
44+
properties:
45+
model:
46+
type: object
47+
x-kubernetes-preserve-unknown-fields: true
48+
overwrite:
49+
description: Overwrite defines the existing grafanadashboard with
50+
the same name(if any) should be overwritten or not
51+
type: boolean
52+
persesRef:
53+
description: PersesRef defines the grafana app binding name for the
54+
GrafanaDashboard
55+
properties:
56+
name:
57+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
58+
type: string
59+
namespace:
60+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
61+
type: string
62+
required:
63+
- name
64+
type: object
65+
templatize:
66+
description: Templatize defines the fields which supports templating
67+
in GrafanaDashboard Model json
68+
properties:
69+
datasource:
70+
type: boolean
71+
title:
72+
type: boolean
73+
type: object
74+
type: object
75+
status:
76+
properties:
77+
conditions:
78+
description: Represents the latest available observations of a GrafanaDashboard
79+
current state.
80+
items:
81+
description: Condition defines an observation of a object operational
82+
state.
83+
properties:
84+
lastTransitionTime:
85+
description: Last time the condition transitioned from one status
86+
to another. This should be when the underlying condition changed.
87+
If that is not known, then using the time when the API field
88+
changed is acceptable.
89+
format: date-time
90+
type: string
91+
message:
92+
description: A human-readable message indicating details about
93+
the transition. This field may be empty.
94+
type: string
95+
observedGeneration:
96+
description: If set, this represents the .metadata.generation
97+
that the condition was set based upon. For instance, if .metadata.generation
98+
is currently 12, but the .status.condition[x].observedGeneration
99+
is 9, the condition is out of date with respect to the current
100+
state of the instance.
101+
format: int64
102+
type: integer
103+
reason:
104+
description: The reason for the condition's last transition
105+
in CamelCase. The specific API may choose whether this field
106+
is considered a guaranteed API. This field may not be empty.
107+
type: string
108+
severity:
109+
description: Severity provides an explicit classification of
110+
Reason code, so the users or machines can immediately understand
111+
the current situation and act accordingly. The Severity field
112+
MUST be set only when Status=False.
113+
type: string
114+
status:
115+
description: Status of the condition, one of True, False, Unknown.
116+
type: string
117+
type:
118+
description: Type of condition in CamelCase or in foo.example.com/CamelCase.
119+
Many .condition.type values are consistent across resources
120+
like Available, but because arbitrary util can be useful (see
121+
.node.status.util), the ability to deconflict is important.
122+
type: string
123+
required:
124+
- lastTransitionTime
125+
- status
126+
- type
127+
type: object
128+
type: array
129+
dashboard:
130+
description: Dashboard indicates the updated grafanadashboard database
131+
properties:
132+
folderName:
133+
type: string
134+
id:
135+
type: string
136+
projectName:
137+
type: string
138+
state:
139+
type: string
140+
type: object
141+
observedGeneration:
142+
description: ObservedGeneration is the most recent generation observed
143+
for this resource. It corresponds to the resource's generation,
144+
which is updated on mutation by the API Server.
145+
format: int64
146+
type: integer
147+
phase:
148+
description: Phase indicates the state this Vault cluster jumps in.
149+
type: string
150+
reason:
151+
description: The reason for the current phase
152+
type: string
153+
type: object
154+
type: object
155+
served: true
156+
storage: true
157+
subresources:
158+
status: {}

0 commit comments

Comments
 (0)