You've already forked prometheus-postgres-exporter
							
							Compare commits
	
		
			4 Commits
		
	
	
		
			0.3.0
			...
			744e0141e4
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 744e0141e4 | |||
| cc61720a11 | |||
| 90d48f8450 | |||
| ad69f02f8f | 
| @@ -13,7 +13,7 @@ on: | ||||
| jobs: | ||||
|   generate-parameters: | ||||
|     container: | ||||
|       image: docker.io/library/node:22.13.0-alpine | ||||
|       image: docker.io/library/node:23.6.0-alpine | ||||
|     runs-on: | ||||
|     - ubuntu-latest | ||||
|     steps: | ||||
|   | ||||
| @@ -13,7 +13,7 @@ on: | ||||
| jobs: | ||||
|   markdown-link-checker: | ||||
|     container: | ||||
|       image: docker.io/library/node:22.13.0-alpine | ||||
|       image: docker.io/library/node:23.6.0-alpine | ||||
|     runs-on: | ||||
|     - ubuntu-latest | ||||
|     steps: | ||||
| @@ -29,7 +29,7 @@ jobs: | ||||
|  | ||||
|   markdown-lint: | ||||
|     container: | ||||
|       image: docker.io/library/node:22.13.0-alpine | ||||
|       image: docker.io/library/node:23.6.0-alpine | ||||
|     runs-on: | ||||
|     - ubuntu-latest | ||||
|     steps: | ||||
|   | ||||
| @@ -46,7 +46,7 @@ version of the chart must be in sync with the `values.yaml`. Newer *minor* versi | ||||
| versions can break something! | ||||
|  | ||||
| ```bash | ||||
| CHART_VERSION=0.1.0 | ||||
| CHART_VERSION=0.3.1 | ||||
| helm show values prometheus-exporters/prometheus-postgres-exporter --version "${CHART_VERSION}" > values.yaml | ||||
| ``` | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,6 @@ | ||||
|   "assignees": [ "volker.raschek" ], | ||||
|   "customManagers": [ | ||||
|     { | ||||
|       "description": "Update container image reference", | ||||
|       "fileMatch": [ | ||||
|         "^Chart\\.yaml$" | ||||
|       ], | ||||
| @@ -16,14 +15,13 @@ | ||||
|       "versioningTemplate": "semver" | ||||
|     }, | ||||
|     { | ||||
|       "description": "Detect helm chart version in README", | ||||
|       "fileMatch": ["^README\\.md$"], | ||||
|       "matchStrings": [ | ||||
|         "^CHART_VERSION=(?<currentValue>.*)$" | ||||
|         "VERSION=(?<currentValue>.*)" | ||||
|       ], | ||||
|       "datasourceTemplate": "git-tags", | ||||
|       "depNameTemplate": "volker.raschek/prometheus-postgres-exporter", | ||||
|       "packageNameTemplate": "https://git.cryptic.systems/volker.raschek/prometheus-postgres-exporter", | ||||
|       "datasourceTemplate": "git-tags", | ||||
|       "versioningTemplate": "semver" | ||||
|     } | ||||
|   ], | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
| {{- define "prometheus-postgres-exporter.deployment.env" -}} | ||||
| {{- $env := dict "env" (.Values.deployment.postgresExporter.env | default (list) ) }} | ||||
| {{- if and (hasKey .Values.deployment.postgresExporter.resources "limits") (hasKey .Values.deployment.postgresExporter.resources.limits "cpu") }} | ||||
| {{- $env = merge $env (dict "env" (list (dict "name" "GOMAXPROCS" "valueFrom" (dict "resourceFieldRef" (dict "resource" "limits.cpu"))))) }} | ||||
| {{- $env = merge $env (dict "env" (list (dict "name" "GOMAXPROCS" "valueFrom" (dict "resourceFieldRef" (dict "divisor" "1" "resource" "limits.cpu"))))) }} | ||||
| {{- end }} | ||||
| {{ toYaml $env }} | ||||
| {{- end -}} | ||||
|   | ||||
| @@ -233,6 +233,7 @@ tests: | ||||
|       - name: GOMAXPROCS | ||||
|         valueFrom: | ||||
|           resourceFieldRef: | ||||
|             divisor: "1" | ||||
|             resource: limits.cpu | ||||
|   - equal: | ||||
|       path: spec.template.spec.containers[0].resources | ||||
|   | ||||
		Reference in New Issue
	
	Block a user