Compare commits

..

1 Commits

Author SHA1 Message Date
9d329ab4c8 chore(deps): update docker.io/library/node docker tag to v22.13.0
All checks were successful
Helm / helm-lint (pull_request) Successful in 16s
Helm / helm-unittest (pull_request) Successful in 17s
2025-01-14 22:22:57 +00:00
4 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,7 @@ on:
jobs: jobs:
helm-lint: helm-lint:
container: container:
image: docker.io/volkerraschek/helm:3.16.4 image: docker.io/volkerraschek/helm:3.16.1
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
@ -26,7 +26,7 @@ jobs:
helm-unittest: helm-unittest:
container: container:
image: docker.io/volkerraschek/helm:3.16.4 image: docker.io/volkerraschek/helm:3.16.1
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:

View File

@ -8,7 +8,7 @@ on:
jobs: jobs:
publish-chart: publish-chart:
container: container:
image: docker.io/volkerraschek/helm:3.16.4 image: docker.io/volkerraschek/helm:3.16.1
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install tooling - name: Install tooling

View File

@ -14,7 +14,7 @@
{{- define "prometheus-postgres-exporter.deployment.env" -}} {{- define "prometheus-postgres-exporter.deployment.env" -}}
{{- $env := dict "env" (.Values.deployment.postgresExporter.env | default (list) ) }} {{- $env := dict "env" (.Values.deployment.postgresExporter.env | default (list) ) }}
{{- if and (hasKey .Values.deployment.postgresExporter.resources "limits") (hasKey .Values.deployment.postgresExporter.resources.limits "cpu") }} {{- 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 "divisor" "1" "resource" "limits.cpu"))))) }} {{- $env = merge $env (dict "env" (list (dict "name" "GOMAXPROCS" "valueFrom" (dict "resourceFieldRef" (dict "resource" "limits.cpu"))))) }}
{{- end }} {{- end }}
{{ toYaml $env }} {{ toYaml $env }}
{{- end -}} {{- end -}}

View File

@ -233,7 +233,6 @@ tests:
- name: GOMAXPROCS - name: GOMAXPROCS
valueFrom: valueFrom:
resourceFieldRef: resourceFieldRef:
divisor: "1"
resource: limits.cpu resource: limits.cpu
- equal: - equal:
path: spec.template.spec.containers[0].resources path: spec.template.spec.containers[0].resources