Compare commits

..
6 Commits
Author SHA1 Message Date
volker.raschek bf9bd4853f fix(deployment): use correct webconfig filename
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2024-11-26 20:24:58 +01:00
volker.raschek 80a8e8096d fix(pod,podMonitor,service): avoid error of immutable labels
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2024-11-26 20:13:53 +01:00
volker.raschek 79b61b0035 core(renovate): update configuration
continuous-integration/drone/push Build is failing
2024-11-26 20:06:18 +01:00
volker.raschek d33b17b973 Merge pull request 'chore(deps): update prometheus-postgres-exporter docker tag to v0.16.0' (#5) from renovate/prometheus-postgres-exporter-0.x into master
continuous-integration/drone/push Build is failing
Reviewed-on: #5
2024-11-26 19:01:45 +00:00
volker.raschek a0d241c90c doc(README): adapt bookmark
continuous-integration/drone/push Build is failing
2024-11-26 20:00:46 +01:00
CSRBot 688718008f chore(deps): update prometheus-postgres-exporter docker tag to v0.16.0
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-11-26 05:27:13 +00:00
8 changed files with 9 additions and 15 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ description: Prometheus metric exporter for PostgreSQL
type: application
kubeVersion: ">=1.20.0"
version: "0.1.0"
appVersion: "0.15.0"
appVersion: "0.16.0"
# icon: https://annotations.example.com/icon.png
+1 -1
View File
@@ -12,7 +12,7 @@ and use it to deploy the exporter. It also contains further configuration exampl
Furthermore, this helm chart unit tests to detect regressions and stabilize the deployment. Additionally, this helm
chart is tested for deployment scenarios with ArgoCD.
> ![NOTE]
> [!NOTE]
> This is not the official *community* helm chart of the Prometheus metric exporter for PostgreSQL databases. You can
> find the official community chart [here](https://github.com/prometheus-community/helm-charts).
+3 -3
View File
@@ -24,10 +24,10 @@
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/prometheus-postgres-exporter", "renovate/automerge" ],
"addLabels": [ "renovate/markdownlint", "renovate/automerge" ],
"automerge": true,
"matchPackageNames": [ "prometheus-postgres-exporter" ],
"matchManagers": [ "regex" ],
"matchPackageNames": [ "markdownlint-cli", "@bitnami/readme-generator-for-helm" ],
"matchManagers": [ "npm" ],
"matchUpdateTypes": [ "minor", "patch"]
}
],
@@ -13,5 +13,5 @@
{{- end }}
{{- define "prometheus-postgres-exporter.pod.selectorLabels" -}}
{{ include "prometheus-postgres-exporter.pod.labels" . }}
{{ include "prometheus-postgres-exporter.selectorLabels" . }}
{{- end }}
@@ -24,7 +24,7 @@ spec:
- name: postgres-exporter
args:
- "--config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml"
- "--web.config.file=/etc/prometheus-postgres-exporter/config.d/web-config.yaml"
- "--web.config.file=/etc/prometheus-postgres-exporter/config.d/webConfig.yaml"
- "--web.listen-address=:9187"
{{- range .Values.deployment.postgresExporter.args }}
- {{ . | quote }}
+2 -2
View File
@@ -36,7 +36,7 @@ tests:
path: spec.template.spec.containers[0].args
value:
- --config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml
- --web.config.file=/etc/prometheus-postgres-exporter/config.d/web-config.yaml
- --web.config.file=/etc/prometheus-postgres-exporter/config.d/webConfig.yaml
- --web.listen-address=:9187
- equal:
path: spec.template.spec.containers[0].volumeMounts
@@ -101,7 +101,7 @@ tests:
path: spec.template.spec.containers[0].args
value:
- --config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml
- --web.config.file=/etc/prometheus-postgres-exporter/config.d/web-config.yaml
- --web.config.file=/etc/prometheus-postgres-exporter/config.d/webConfig.yaml
- --web.listen-address=:9187
- --foo=bar
- --bar=foo
@@ -90,10 +90,7 @@ tests:
path: spec.selector.matchLabels
value:
app.kubernetes.io/instance: prometheus-postgres-exporter-unittest
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: prometheus-postgres-exporter
app.kubernetes.io/version: 0.1.0
helm.sh/chart: prometheus-postgres-exporter-0.1.0
- it: Render podMonitor with custom annotations and labels.
set:
-3
View File
@@ -63,10 +63,7 @@ tests:
path: spec.selector
value:
app.kubernetes.io/instance: prometheus-postgres-exporter-unittest
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: prometheus-postgres-exporter
app.kubernetes.io/version: 0.1.0
helm.sh/chart: prometheus-postgres-exporter-0.1.0
- equal:
path: spec.sessionAffinity
value: None