From a5ec1183451e470b6e26a0c0f07e83dc9bac987c Mon Sep 17 00:00:00 2001 From: Felipe Matheus de Souza Santos Date: Mon, 5 Feb 2024 12:53:36 +0100 Subject: [PATCH] remove PUPPETDB_JAVA_ARGS puppetdb environment variable values due to error 'Unrecognized option: -Xlog:gc' that was causing puppetdb pod to crash (#204) --- CHANGELOG.md | 3 +++ values.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03a004b..bf863b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ numbering uses [semantic versioning](http://semver.org). NOTE: The change log until version `v0.2.4` is auto-generated. +## [v9.1.0](https://github.com/puppetlabs/puppetserver-helm-chart/tree/v9.1.0) (2024-01-31) +- Fix: Remove `PUPPETDB_JAVA_ARGS` value on puppetdb container additional variables, to avoid error `unrecognized option: -Xlog:gc....` that causes the puppetdb pod to crash. + ## [v9.0.0](https://github.com/puppetlabs/puppetserver-helm-chart/tree/v9.0.0) (2023-12-08) - Breaking: Update values structure for 'metrics' to allow for multiple exporters - Feat: Make serviceMonitor optional for all Prometheus exporters diff --git a/values.yaml b/values.yaml index 212aaec..b4ea141 100644 --- a/values.yaml +++ b/values.yaml @@ -788,7 +788,7 @@ puppetdb: extraInitContainers: [] ## Additional puppetdb container environment variables extraEnv: - PUPPETDB_JAVA_ARGS: "-Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -XX:+UseParallelGC -Xlog:gc:/opt/puppetlabs/server/data/puppetdb/puppetdb_gc.log -Djdk.tls.ephemeralDHKeySize=2048" + PUPPETDB_JAVA_ARGS: "" ## Additional puppetdb container environment variables from a pre-existing K8s secret extraEnvSecret: ""