You've already forked prometheus-postgres-exporter
							
							fix(prometheusRule): use the fullname as group name
This commit is contained in:
		| @@ -127,7 +127,7 @@ replaced: | ||||
| ### Configuration | ||||
|  | ||||
| | Name                                              | Description                                                                                                                                                                            | Value   | | ||||
| | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | | ||||
| | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | | ||||
| | `config.database.existingSecret.enabled`          | Mount an existing secret containing the application specific `DATA_SOURCE_` prefixed environment variables.                                                                            | `false` | | ||||
| | `config.database.existingSecret.secretName`       | Name of the existing secret containing the application specific `DATA_SOURCE_` prefixed environment variables.                                                                         | `""`    | | ||||
| | `config.database.secret.annotations`              | Additional annotations of the secret containing the database credentials.                                                                                                              | `{}`    | | ||||
| @@ -139,7 +139,7 @@ replaced: | ||||
| | `config.exporterConfig.existingSecret.secretName` | Name of the existing secret containing the key `exporterConfig.yaml`.                                                                                                                  | `""`    | | ||||
| | `config.exporterConfig.secret.annotations`        | Additional annotations of the secret containing the `exporterConfig.yaml`.                                                                                                             | `{}`    | | ||||
| | `config.exporterConfig.secret.labels`             | Additional labels of the secret containing the `exporterConfig.yaml`.                                                                                                                  | `{}`    | | ||||
| | `config.exporterConfig.secret.exporterConfig`     | Content of the `exporterConfig.yaml`. Further information can be found [here](https://prometheus.io/docs/prometheus/latest/configuration/https/). | `{}`    | | ||||
| | `config.exporterConfig.secret.exporterConfig`     | Content of the `exporterConfig.yaml`. Further information can be found [here](https://github.com/prometheus-community/postgres_exporter?tab=readme-ov-file#multi-target-support-beta). | `{}`    | | ||||
| | `config.webConfig.existingSecret.enabled`         | Mount an existing secret containing the key `webConfig.yaml`.                                                                                                                          | `false` | | ||||
| | `config.webConfig.existingSecret.secretName`      | Name of the existing secret containing the key `webConfig.yaml`.                                                                                                                       | `""`    | | ||||
| | `config.webConfig.secret.annotations`             | Additional annotations of the secret containing the `webConfig.yaml`.                                                                                                                  | `{}`    | | ||||
|   | ||||
| @@ -16,7 +16,7 @@ metadata: | ||||
| spec: | ||||
| {{- with .Values.prometheus.rules }} | ||||
|   groups: | ||||
|   - name: {{ template "prometheus-postgres-exporter.name" $ }} | ||||
|   - name: {{ template "prometheus-postgres-exporter.fullname" $ }} | ||||
|     rules: | ||||
|     {{ toYaml . | nindent 4 }} | ||||
| {{- end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user