You've already forked prometheus-postgres-exporter
Compare commits
9 Commits
0.5.8
...
6688360312
| Author | SHA1 | Date | |
|---|---|---|---|
|
6688360312
|
|||
| 1656466bbe | |||
|
56379bd8b4
|
|||
| 42d220e91c | |||
|
8daa6587a2
|
|||
|
b6cc99d7b4
|
|||
|
5cd92b6328
|
|||
| c9b96f3f13 | |||
|
5abe12ebdd
|
@@ -15,7 +15,7 @@ on:
|
||||
jobs:
|
||||
generate-parameters:
|
||||
container:
|
||||
image: docker.io/library/node:25.6.1-alpine
|
||||
image: docker.io/library/node:25.7.0-alpine
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install tooling
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
- uses: actions/checkout@v6.0.2
|
||||
- uses: azure/setup-helm@v4.3.1
|
||||
with:
|
||||
version: "v4.0.1" # renovate: datasource=github-tags depName=helm/helm
|
||||
version: "v4.1.1" # renovate: datasource=github-tags depName=helm/helm
|
||||
- name: Lint helm files
|
||||
run: |
|
||||
helm lint --values values.yaml .
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
- uses: actions/checkout@v6.0.2
|
||||
- uses: azure/setup-helm@v4.3.1
|
||||
with:
|
||||
version: "v4.0.1" # renovate: datasource=github-tags depName=helm/helm
|
||||
version: "v4.1.1" # renovate: datasource=github-tags depName=helm/helm
|
||||
- env:
|
||||
HELM_UNITTEST_VERSION: v1.0.0 #renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
||||
name: Install helm-unittest
|
||||
|
||||
@@ -15,7 +15,7 @@ on:
|
||||
jobs:
|
||||
markdown-link-checker:
|
||||
container:
|
||||
image: docker.io/library/node:25.6.1-alpine
|
||||
image: docker.io/library/node:25.7.0-alpine
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install tooling
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
|
||||
markdown-lint:
|
||||
container:
|
||||
image: docker.io/library/node:25.6.1-alpine
|
||||
image: docker.io/library/node:25.7.0-alpine
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install tooling
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
- uses: azure/setup-helm@v4.3.1
|
||||
with:
|
||||
version: "v4.0.1" # renovate: datasource=github-tags depName=helm/helm
|
||||
version: "v4.1.1" # renovate: datasource=github-tags depName=helm/helm
|
||||
|
||||
- name: Install helm plugins
|
||||
env:
|
||||
@@ -113,15 +113,23 @@ jobs:
|
||||
env:
|
||||
GITEA_REGISTRY_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||
run: |
|
||||
for package in "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz"*; do
|
||||
curl \
|
||||
--fail \
|
||||
--show-error \
|
||||
--request POST \
|
||||
--user "${REPOSITORY_OWNER}:${GITEA_REGISTRY_TOKEN}" \
|
||||
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz" \
|
||||
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/charts
|
||||
|
||||
if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
|
||||
curl \
|
||||
--fail \
|
||||
--show-error \
|
||||
--request POST \
|
||||
--user "${REPOSITORY_OWNER}:${GITEA_REGISTRY_TOKEN}" \
|
||||
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz" \
|
||||
https://git.cryptic.systems/api/packages/${REPOSITORY_OWNER}/helm/api/charts
|
||||
done
|
||||
--user "${CHARTMUSEUM_USERNAME}:${CHARTMUSEUM_PASSWORD}" \
|
||||
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" \
|
||||
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/prov
|
||||
fi
|
||||
|
||||
- name: Upload Chart to Chartmuseum (Helm)
|
||||
env:
|
||||
|
||||
@@ -11,7 +11,7 @@ annotations:
|
||||
fingerprint: 3B0CE9853CAD76076260025383D342258456906E
|
||||
url: https://keys.openpgp.org/vks/v1/by-fingerprint/3B0CE9853CAD76076260025383D342258456906E
|
||||
apiVersion: v2
|
||||
appVersion: "0.19.0"
|
||||
appVersion: "0.19.1"
|
||||
description: Prometheus metric exporter for PostgreSQL
|
||||
home: https://git.cryptic.systems/volker.raschek/prometheus-postgres-exporter
|
||||
# icon: https://annotations.example.com/icon.png
|
||||
|
||||
14
README.md
14
README.md
@@ -37,7 +37,7 @@ separate [chapter](#argocd).
|
||||
```bash
|
||||
helm repo add prometheus-postgres-exporters https://git.cryptic.systems/prometheus-exporters
|
||||
helm repo update
|
||||
CHART_VERSION=0.5.6
|
||||
CHART_VERSION=0.5.8
|
||||
helm install --version "${CHART_VERSION}" prometheus-postgres-exporter prometheus-exporters/prometheus-postgres-exporter \
|
||||
--set 'config.database.secret.databaseUsername=postgres' \
|
||||
--set 'config.database.secret.databasePassword=postgres' \
|
||||
@@ -49,7 +49,7 @@ helm install --version "${CHART_VERSION}" prometheus-postgres-exporter prometheu
|
||||
Alternatively, the deployment of the helm charts can also be done via an OCI registry:
|
||||
|
||||
```bash
|
||||
CHART_VERSION=0.5.6
|
||||
CHART_VERSION=0.5.8
|
||||
helm install "oci://git.cryptic.systems/volker.raschek/prometheus-postgres-exporter:${CHART_VERSION}" \
|
||||
--set 'config.database.secret.databaseUsername=postgres' \
|
||||
--set 'config.database.secret.databasePassword=postgres' \
|
||||
@@ -64,7 +64,7 @@ version of the chart must be in sync with the `values.yaml`. Newer *minor* versi
|
||||
versions can break something!
|
||||
|
||||
```bash
|
||||
CHART_VERSION=0.5.6
|
||||
CHART_VERSION=0.5.8
|
||||
helm show values --version "${CHART_VERSION}" prometheus-exporters/prometheus-postgres-exporter > values.yaml
|
||||
```
|
||||
|
||||
@@ -102,7 +102,7 @@ Further information about this topic can be found in one of Kanishk's blog
|
||||
> Please take care the a CPU limit < `1000m` can also lead to CPU throttling. Please read the linked documentation carefully.
|
||||
|
||||
```bash
|
||||
CHART_VERSION=0.5.6
|
||||
CHART_VERSION=0.5.8
|
||||
helm install --version "${CHART_VERSION}" prometheus-postgres-exporter prometheus-exporters/prometheus-postgres-exporter \
|
||||
--set 'config.database.secret.databaseUsername=postgres' \
|
||||
--set 'config.database.secret.databasePassword=postgres' \
|
||||
@@ -124,7 +124,7 @@ certification will be skipped by Prometheus.
|
||||
> `tls.key` and `tls.crt` of the secret can be mounted into the container filesystem for TLS authentication / encryption.
|
||||
|
||||
```bash
|
||||
CHART_VERSION=0.5.6
|
||||
CHART_VERSION=0.5.8
|
||||
helm install --version "${CHART_VERSION}" prometheus-postgres-exporter prometheus-exporters/prometheus-postgres-exporter \
|
||||
--set 'config.database.secret.databaseUsername=postgres' \
|
||||
--set 'config.database.secret.databasePassword=postgres' \
|
||||
@@ -148,7 +148,7 @@ certificate for the metrics exporter - TLS certificate verification can be enabl
|
||||
replaced:
|
||||
|
||||
```diff
|
||||
CHART_VERSION=0.5.6
|
||||
CHART_VERSION=0.5.8
|
||||
helm install --version "${CHART_VERSION}" prometheus-postgres-exporter prometheus-exporters/prometheus-postgres-exporter \
|
||||
--set 'config.database.secret.databaseUsername=postgres' \
|
||||
--set 'config.database.secret.databasePassword=postgres' \
|
||||
@@ -202,7 +202,7 @@ the Grafana container file system so that it is subsequently available to the us
|
||||
makes this possible.
|
||||
|
||||
```bash
|
||||
CHART_VERSION=0.5.6
|
||||
CHART_VERSION=0.5.8
|
||||
helm install --version "${CHART_VERSION}" prometheus-postgres-exporter prometheus-exporters/prometheus-postgres-exporter \
|
||||
--set 'config.database.secret.databaseUsername=postgres' \
|
||||
--set 'config.database.secret.databasePassword=postgres' \
|
||||
|
||||
Reference in New Issue
Block a user