From 148d4b69cd597aecc0c20c42b1bfdf782a5aa7a1 Mon Sep 17 00:00:00 2001 From: chgl Date: Mon, 14 Oct 2024 22:40:28 +0200 Subject: [PATCH] chore: tune fhir gateway resource requests during helm tests (#370) * only install prometheus crds * tune preset --- charts/fhir-gateway/Chart.yaml | 2 +- charts/fhir-gateway/ci/enable-vfps-values.yaml | 1 + hack/test-fixtures/Chart.lock | 8 ++++---- hack/test-fixtures/Chart.yaml | 4 ++-- hack/test-fixtures/values.yaml | 10 ---------- 5 files changed, 8 insertions(+), 17 deletions(-) diff --git a/charts/fhir-gateway/Chart.yaml b/charts/fhir-gateway/Chart.yaml index a7b3293a..e0e93500 100644 --- a/charts/fhir-gateway/Chart.yaml +++ b/charts/fhir-gateway/Chart.yaml @@ -17,7 +17,7 @@ dependencies: - name: common repository: oci://registry-1.docker.io/bitnamicharts version: 2.24.0 -version: 6.3.9 +version: 6.3.10 annotations: # When using the list of objects option the valid supported kinds are # added, changed, deprecated, removed, fixed and security. diff --git a/charts/fhir-gateway/ci/enable-vfps-values.yaml b/charts/fhir-gateway/ci/enable-vfps-values.yaml index 1b033c59..3398d164 100644 --- a/charts/fhir-gateway/ci/enable-vfps-values.yaml +++ b/charts/fhir-gateway/ci/enable-vfps-values.yaml @@ -5,6 +5,7 @@ fhir-pseudonymizer: postgresql: enabled: true nameOverride: "vfps-postgres" + resourcesPreset: "micro" metrics: serviceMonitor: diff --git a/hack/test-fixtures/Chart.lock b/hack/test-fixtures/Chart.lock index b8216eec..55fd61e6 100644 --- a/hack/test-fixtures/Chart.lock +++ b/hack/test-fixtures/Chart.lock @@ -1,9 +1,9 @@ dependencies: -- name: kube-prometheus-stack +- name: prometheus-operator-crds repository: oci://ghcr.io/prometheus-community/charts - version: 65.1.1 + version: 15.0.0 - name: kyverno repository: oci://ghcr.io/kyverno/charts version: 3.2.7 -digest: sha256:8a5bac8233764369093946ae66307308923beb129d75c090392ff0bac5475583 -generated: "2024-10-10T18:38:47.846998288Z" +digest: sha256:a648d0c4cc40f1495187518de93e4422fdfb21348e6d936c95f7ca59d284945c +generated: "2024-10-14T22:28:05.637963995+02:00" diff --git a/hack/test-fixtures/Chart.yaml b/hack/test-fixtures/Chart.yaml index 5b16d2ac..57d565d9 100644 --- a/hack/test-fixtures/Chart.yaml +++ b/hack/test-fixtures/Chart.yaml @@ -8,8 +8,8 @@ deprecated: false kubeVersion: ">= 1.19.0" version: 1.0.3 dependencies: - - name: kube-prometheus-stack - version: 65.1.1 + - name: prometheus-operator-crds + version: 15.0.0 repository: oci://ghcr.io/prometheus-community/charts - name: kyverno repository: oci://ghcr.io/kyverno/charts diff --git a/hack/test-fixtures/values.yaml b/hack/test-fixtures/values.yaml index 279ad8ab..a48bae59 100644 --- a/hack/test-fixtures/values.yaml +++ b/hack/test-fixtures/values.yaml @@ -1,11 +1 @@ kyverno: {} - -kube-prometheus-stack: - kubeStateMetrics: - enabled: false - nodeExporter: - enabled: false - grafana: - enabled: false - alertmanager: - enabled: false