From 372698a618248ae6807746e9ac4e411dbc4ec3ef Mon Sep 17 00:00:00 2001 From: Yevhen Ivantsov Date: Tue, 9 Jul 2024 05:29:16 +1000 Subject: [PATCH 1/2] Increase resources limits --- src/test/scripts/kind/deploy_app.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/scripts/kind/deploy_app.sh b/src/test/scripts/kind/deploy_app.sh index 08d4561a6..41c0a56de 100755 --- a/src/test/scripts/kind/deploy_app.sh +++ b/src/test/scripts/kind/deploy_app.sh @@ -12,6 +12,8 @@ deploy_postgres() { --set fullnameOverride="postgres" \ --set primary.persistentVolumeClaimRetentionPolicy.enabled="true" \ --set primary.persistentVolumeClaimRetentionPolicy.whenDeleted="Delete" \ + --set primary.resources.requests.memory=256Mi \ + --set primary.resources.limits.memory=1024Mi \ --set image.tag="14.3.0-debian-10-r20" \ --version="15.5.1" \ --wait --timeout=120s \ From 28e52f9abb8bcd51c43edb6be45b9a2f47fa058f Mon Sep 17 00:00:00 2001 From: Yevhen Ivantsov Date: Tue, 9 Jul 2024 06:45:35 +1000 Subject: [PATCH 2/2] Add extra hosts --- src/test/config/kind/common-values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/config/kind/common-values.yaml b/src/test/config/kind/common-values.yaml index e8ffa2fab..9a65c573c 100644 --- a/src/test/config/kind/common-values.yaml +++ b/src/test/config/kind/common-values.yaml @@ -120,3 +120,9 @@ synchrony: memory: 1G additionalCertificates: secretName: certificate + +# this is to fix Synchrony when run locally +additionalHosts: + - ip: 172.17.0.1 + hostnames: + - confluence.172.18.0.2.nip.io