Skip to content

Commit

Permalink
remove PUPPETDB_JAVA_ARGS puppetdb environment variable values due to…
Browse files Browse the repository at this point in the history
… error 'Unrecognized option: -Xlog:gc' that was causing puppetdb pod to crash (#204)
  • Loading branch information
felipeatsix authored Feb 5, 2024
1 parent 649b2ed commit a5ec118
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""

Expand Down

0 comments on commit a5ec118

Please sign in to comment.