Skip to content

Commit 994da6b

Browse files
authored
[prometheus] Add new persistence attributes from alertmanager to prometheus values file (#6116)
Signed-off-by: rb090 <[email protected]>
1 parent d98ce57 commit 994da6b

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

charts/prometheus/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: prometheus
33
# renovate: github=prometheus/prometheus
44
appVersion: v3.5.0
5-
version: 27.36.0
5+
version: 27.37.0
66
kubeVersion: ">=1.19.0-0"
77
description: Prometheus is a monitoring system and time series database.
88
home: https://prometheus.io/

charts/prometheus/values.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,4 +736,4 @@
736736
}
737737
}
738738
}
739-
}
739+
}

charts/prometheus/values.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,8 +1311,34 @@ alertmanager:
13111311
enabled: true
13121312

13131313
persistence:
1314+
## If true, storage will create or use Persistence Volume
1315+
## If false, storage will use emptyDir
1316+
##
1317+
enabled: true
1318+
1319+
## Custom annotations for the PVC created by the alertmanager StatefulSet.
1320+
## Useful for configuring storage provider options such as disk type, KMS encryption keys, or custom volume name prefixes.
1321+
annotations: {}
1322+
1323+
## Custom labels for the PVC created by the alertmanager StatefulSet.
1324+
## Useful for selecting, grouping, and organizing so that they can be queried or targeted in deployments, policies, etc.
1325+
labels: {}
1326+
1327+
## Persistent Volume Storage Class
1328+
## If defined, storageClassName: <storageClass>
1329+
## If set to "-", storageClassName: "", which disables dynamic provisioning
1330+
## If undefined (the default) or set to null, no storageClassName spec is
1331+
## set, choosing the default provisioner.
1332+
##
1333+
# storageClass: "-"
1334+
accessModes:
1335+
- ReadWriteOnce
13141336
size: 2Gi
13151337

1338+
## Configure emptyDir volume
1339+
##
1340+
emptyDir: {}
1341+
13161342
podSecurityContext:
13171343
runAsUser: 65534
13181344
runAsNonRoot: true

0 commit comments

Comments
 (0)