Skip to content

Commit 7cc1326

Browse files
authored
feat(perses) renovate automated prs + helm lint/test (#645)
* chore(release): bump version to 0.1.9 and update service URL format Signed-off-by: IB Akshay <akshay.iyyadurai.balasundaram@sap.com> * feat(helm): add perses renovate config + helm lint and test Signed-off-by: IB Akshay <akshay.iyyadurai.balasundaram@sap.com> * refactor(renovate): remove perses dependency configuration Signed-off-by: IB Akshay <akshay.iyyadurai.balasundaram@sap.com> * chore(chart): clean up whitespace in Chart.yaml and values.yaml Signed-off-by: IB Akshay <akshay.iyyadurai.balasundaram@sap.com> * chore(chart): bump version to 0.9.4 in Chart.yaml and plugindefinition.yaml Signed-off-by: IB Akshay <akshay.iyyadurai.balasundaram@sap.com> --------- Signed-off-by: IB Akshay <akshay.iyyadurai.balasundaram@sap.com>
1 parent 573a64f commit 7cc1326

File tree

5 files changed

+58
-57
lines changed

5 files changed

+58
-57
lines changed

.github/configs/helm-lint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ chart-dirs:
1717
- logshipper
1818
- opentelemetry
1919
- thanos
20+
- perses
2021
chart-repos:
2122
- cert-manager=https://charts.jetstack.io
2223
- alerts=https://prometheus-community.github.io/helm-charts
2324
- kube-monitoring=https://prometheus-community.github.io/helm-charts
2425
- kubernetes-operations=https://cloudoperators.github.io/kubernetes-operations
2526
- logshipper=https://fluent.github.io/helm-charts
2627
- opentelemetry=https://open-telemetry.github.io/opentelemetry-helm-charts
28+
- perses=https://perses.github.io/helm-charts

.github/configs/helm-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ chart-dirs:
1212
- plutono
1313
- thanos
1414
- opentelemetry
15+
- perses
1516
chart-repos:
1617
- cert-manager=https://charts.jetstack.io
1718
- alerts=https://prometheus-community.github.io/helm-charts
1819
- kube-monitoring=https://prometheus-community.github.io/helm-charts
1920
- opentelemetry=https://open-telemetry.github.io/opentelemetry-helm-charts
21+
- perses=https://perses.github.io/helm-charts

perses/charts/Chart.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ name: perses
33
description: A Helm chart for Perses
44
icon: https://avatars.githubusercontent.com/u/77209215?s=200&v=4
55
type: application
6-
version: 0.9.3
7-
appVersion: "v0.50.0"
6+
version: 0.9.4
87
maintainers:
98
- name: richardtief
109
- name: ibakshay
1110
annotations:
12-
"helm.sh/validateValues": "false"
11+
"helm.sh/validateValues": "false"
1312
keywords:
1413
- monitoring
1514
- metric
@@ -19,4 +18,3 @@ dependencies:
1918
- name: perses
2019
repository: https://perses.github.io/helm-charts
2120
version: 0.9.0
22-

perses/charts/values.yaml

Lines changed: 48 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
global:
2-
32
## Labels to apply to all resources
43
##
54
commonLabels: {}
@@ -8,28 +7,29 @@ perses:
87
# Default values for perses.
98
# This is a YAML-formatted file.
109
# Declare variables to be passed into your templates.
11-
10+
1211
# -- Override name of the chart used in Kubernetes object names.
1312
nameOverride: ""
14-
13+
1514
# -- Override fully qualified app name
1615
fullnameOverride: ""
17-
16+
1817
## Image of Perses
1918
##
2019
image:
2120
# -- Perses image repository and name
2221
name: "persesdev/perses"
23-
22+
2423
# -- Overrides the image tag whose default is the chart appVersion.
25-
version: "v0.50.0"
26-
24+
version: ""
25+
2726
# -- Default image pull policy
2827
pullPolicy: IfNotPresent
29-
30-
additionalLabels: {}
28+
29+
additionalLabels:
30+
{}
3131
# app: perses
32-
32+
3333
# -- Service account for Perses to use.
3434
serviceAccount:
3535
# -- Specifies whether a service account should be created
@@ -39,7 +39,7 @@ perses:
3939
# -- The name of the service account to use.
4040
# If not set and create is true, a name is generated using the fullname template
4141
name: ""
42-
42+
4343
# -- Expose the Perses service to be accessed from outside the cluster (LoadBalancer service).
4444
# or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
4545
service:
@@ -56,17 +56,17 @@ perses:
5656
port: 8080
5757
# -- Perses running port
5858
targetPort: 8080
59-
59+
6060
# -- Statefulset Annotations
6161
annotations: {}
62-
62+
6363
# -- Number of pod replicas.
6464
replicas: 1
65-
65+
6666
# -- Log level for Perses be configured in
6767
# available options "panic", "error", "warning", "info", "debug", "trace"
6868
logLevel: info
69-
69+
7070
# -- Liveness probe configuration
7171
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
7272
livenessProbe:
@@ -76,7 +76,7 @@ perses:
7676
timeoutSeconds: 5
7777
successThreshold: 1
7878
failureThreshold: 5
79-
79+
8080
# -- Readiness probe configuration
8181
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
8282
readinessProbe:
@@ -86,18 +86,18 @@ perses:
8686
timeoutSeconds: 5
8787
successThreshold: 1
8888
failureThreshold: 5
89-
89+
9090
# -- Additional volumes on the output StatefulSet definition.
9191
volumes: []
92-
92+
9393
# -- Additional VolumeMounts on the output StatefulSet definition.
9494
volumeMounts: []
95-
95+
9696
# -- Resource limits & requests.
9797
# Update according to your own use case as these values might be too low for a typical deployment.
9898
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
9999
resources: {}
100-
100+
101101
# -- Perses configuration file
102102
# ref: https://github.com/perses/perses/blob/main/docs/user-guides/configuration.md
103103
config:
@@ -106,7 +106,7 @@ perses:
106106

107107
# With this config, the Perses app will be served with the path <api_prefix>/api
108108
api_prefix: "/perses"
109-
109+
110110
security:
111111
# -- Configure Perses instance as readonly
112112
readonly: false
@@ -119,22 +119,22 @@ perses:
119119
# [ same_site: < enum | possibleValue = 'strict' | 'lax' | 'none' > | default = lax ]
120120
# Set to true if you host Perses behind HTTPS. Default is false
121121
# [ secure: <boolean> | default = false ]
122-
122+
123123
# -- Schemas paths
124124
schemas:
125125
panels_path: "/etc/perses/cue/schemas/panels"
126126
queries_path: "/etc/perses/cue/schemas/queries"
127127
datasources_path: "/etc/perses/cue/schemas/datasources"
128128
variables_path: "/etc/perses/cue/schemas/variables"
129129
interval: "5m"
130-
130+
131131
# -- Important dashboards list
132132
frontend:
133133
important_dashboards:
134134
[]
135135
# - project: "perses"
136136
# dashboard: "Demo"
137-
137+
138138
# -- Database config based on data base type
139139
database:
140140
# -- file system configs
@@ -143,63 +143,63 @@ perses:
143143
extension: json
144144
# -- SQL Config
145145
# sql:
146-
# user: "user"
147-
# password: "password"
148-
# net: "tcp"
149-
# addr: "localhost:3306"
150-
# db_name: "perses"
151-
# allow_native_passwords: true
152-
146+
# user: "user"
147+
# password: "password"
148+
# net: "tcp"
149+
# addr: "localhost:3306"
150+
# db_name: "perses"
151+
# allow_native_passwords: true
152+
153153
# -- provisioning config
154154
provisioning:
155155
folders:
156-
- /etc/perses/provisioning
156+
- /etc/perses/provisioning
157157
interval: 10s
158-
158+
159159
# -- Sidecar configuration that watches for ConfigMaps with the specified label/labelValue and loads them into Perses provisioning
160160
sidecar:
161161
# -- Enable the sidecar container for ConfigMap provisioning
162162
enabled: true
163-
image:
163+
image:
164164
# -- Container image repository for the sidecar
165165
repository: kiwigrid/k8s-sidecar
166166
# -- Container image tag for the sidecar
167167
tag: 1.28.0
168-
# -- Label key to watch for ConfigMaps containing Perses resources
168+
# -- Label key to watch for ConfigMaps containing Perses resources
169169
label: "perses.dev/resource"
170170
# -- Label value to watch for ConfigMaps containing Perses resources
171171
labelValue: "true"
172-
172+
173173
# -- Persistence parameters
174174
persistence:
175175
# -- If disabled, it will use a emptydir volume
176176
enabled: false
177-
177+
178178
# -- Specify the `storageClass` to provision the volume for the PVC. If you don't specify a `storageClass`, a default `storageClass` will be used.
179179
# storageClass: ""
180-
180+
181181
# -- PVC Access Modes for data volume
182182
accessModes:
183183
- ReadWriteOnce
184-
184+
185185
# -- PVC Storage Request for data volume
186186
size: 8Gi
187-
187+
188188
# -- Security context for the PVC when persistence is enabled
189189
securityContext:
190190
fsGroup: 2000
191-
191+
192192
# -- Labels for the PVC
193193
labels: {}
194194
# -- Annotations for the PVC
195195
annotations: {}
196-
197-
# -- Configure the ingress resource that allows you to access Thanos Query Frontend
198-
# ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
196+
197+
# -- Configure the ingress resource that allows you to access Thanos Query Frontend
198+
# ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
199199
ingress:
200200
# -- Enable ingress controller resource
201201
enabled: false
202-
202+
203203
# -- Default host for the ingress resource
204204
hosts:
205205
- host: perses.local
@@ -220,9 +220,9 @@ perses:
220220

221221
# -- Ingress TLS configuration
222222
tls: []
223-
# - secretName: ingress-cert
224-
# hosts: []
225-
223+
# - secretName: ingress-cert
224+
# hosts: []
225+
226226
# -- Configure datasources
227227
# DEPRECATED: This field will be removed in the future release. Please use the 'sidecar' configuration to provision datasources.
228228
# ref: https://github.com/perses/perses/blob/90beed356243208f14cf2249bebb6f6222cb77ae/docs/datasource.md
@@ -248,4 +248,3 @@ perses:
248248
greenhouse:
249249
defaultDashboards:
250250
enabled: true
251-

perses/plugindefinition.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ kind: PluginDefinition
33
metadata:
44
name: perses
55
spec:
6-
version: 0.3.3
6+
version: 0.3.4
77
displayName: Perses
88
description: "Perses is a dashboard tooling to visualize metrics and traces produced by observability tools such as Prometheus/Thanos/Jaeger"
99
docMarkDownUrl: https://raw.githubusercontent.com/cloudoperators/greenhouse-extensions/main/perses/README.md
1010
icon: https://raw.githubusercontent.com/cloudoperators/greenhouse-extensions/main/perses/logo.png
1111
helmChart:
12-
name: perses
13-
repository: oci://ghcr.io/cloudoperators/greenhouse-extensions/charts
14-
version: '0.9.3'
12+
name: perses
13+
repository: oci://ghcr.io/cloudoperators/greenhouse-extensions/charts
14+
version: "0.9.4"
1515
options:
1616
- default: true
1717
description: "Deploys a sidecar container to watch all configmaps in the cluster and filters out the ones with a label `perses.dev/resource: true`. The files defined in those configmaps are written to a folder and this folder is accessed by Perses. Changes to the configmaps are continuously monitored and reflected in Perses within 10 seconds"

0 commit comments

Comments
 (0)