Skip to content

Commit

Permalink
[prometheus-rabbitmq-exporter] fix connection parameters not passing …
Browse files Browse the repository at this point in the history
…to the deployment (prometheus-community#3649)

* enable passing rabbitmq conection parameters

Signed-off-by: Daniel Gotlieb <[email protected]>

* Update chart version

Signed-off-by: dgotlieb <[email protected]>

* Update charts/prometheus-rabbitmq-exporter/Chart.yaml

Signed-off-by: André Bauer <[email protected]>

---------

Signed-off-by: Daniel Gotlieb <[email protected]>
Signed-off-by: dgotlieb <[email protected]>
Signed-off-by: André Bauer <[email protected]>
Co-authored-by: Daniel Gotlieb <[email protected]>
Co-authored-by: MH <[email protected]>
Co-authored-by: André Bauer <[email protected]>

[alertmanager] Add if block to ingressClassName to use default ingressClass (prometheus-community#3824)

* add-if-block-to-ingressClassName

Signed-off-by: jmnote <[email protected]>

* Chart Version bumped

Signed-off-by: jmnote <[email protected]>

---------

Signed-off-by: jmnote <[email protected]>
Co-authored-by: André Bauer <[email protected]>

[alertmanager] Add optional seperate ingress per replica (prometheus-community#3689)

* [alertmanager] Add optional seperate ingress per replica

Signed-off-by: Knut Götz <[email protected]>

* chore(alertmanger): bump chart version

Signed-off-by: Knut Götz <[email protected]>

---------

Signed-off-by: Knut Götz <[email protected]>
Signed-off-by: André Bauer <[email protected]>
Co-authored-by: André Bauer <[email protected]>
Signed-off-by: peterabarr <[email protected]>

[alertmanager] Add support for PVC retention policy in statefulset

Fix

Fix PVC policy

Fix fmt

Signed-off-by: peterabarr <[email protected]>

Adjustments

Remove ternary

rm blank space

Signed-off-by: peterabarr <[email protected]>
  • Loading branch information
Dgotlieb authored and peterabarr committed Oct 6, 2023
1 parent 304ff15 commit ed77f1b
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/alertmanager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/a
sources:
- https://github.com/prometheus/alertmanager
type: application
version: 1.7.0
version: 1.7.1
appVersion: v0.26.0
kubeVersion: ">=1.19.0-0"
keywords:
Expand Down
5 changes: 5 additions & 0 deletions charts/alertmanager/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ metadata:
{{- end }}
namespace: {{ include "alertmanager.namespace" . }}
spec:
{{- if semverCompare ">= 1.27.x" (include "alertmanager.kubeVersion" .) }}
persistentVolumeClaimRetentionPolicy:
whenDeleted: {{ .Values.persistentVolumeClaimRetentionPolicy.whenDeleted }}
whenScaled: {{ .Values.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
Expand Down
42 changes: 41 additions & 1 deletion charts/alertmanager/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,48 @@
"properties": {
"annotations": {
"type": "object"
},
"enabled": {
"type": "boolean"
},
"headless": {
"type": "object",
"properties": {
"annotations": {
"type": "object"
},
"gRPC": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"servicePort": {
"type": "integer"
}
}
},
"labels": {
"type": "object"
},
"servicePort": {
"type": "integer"
}
}
},
"labels": {
"type": "object"
},
"podManagementPolicy": {
"type": "string"
},
"pvcDeleteOnStsDelete": {
"type": "boolean"
},
"pvcDeleteOnStsScale": {
"type": "boolean"
}
}
}
},
"podAnnotations": {
Expand Down Expand Up @@ -912,4 +953,3 @@
}
}
}
}
10 changes: 10 additions & 0 deletions charts/alertmanager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,16 @@ topologySpreadConstraints: []
statefulSet:
annotations: {}

## Statefulset's persistent volume claim retention policy
## pvcDeleteOnStsDelete and pvcDeleteOnStsScale determine whether
## statefulset's PVCs are deleted (true) or retained (false) on scaling down
## and deleting statefulset, respectively. Requires 1.27.0+.
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
##
persistentVolumeClaimRetentionPolicy:
whenDeleted: Retain
whenScaled: Retain

podAnnotations: {}
podLabels: {}

Expand Down

0 comments on commit ed77f1b

Please sign in to comment.