Skip to content

Commit

Permalink
Merge pull request #97 from ExpediaGroup/feature/log4j
Browse files Browse the repository at this point in the history
added log4j no lookup env
  • Loading branch information
Patrick Duin authored Dec 16, 2021
2 parents 6b28240 + 9ea109f commit 9fede84
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [3.3.14] - 2021-12-16
- Set env var `LOG4J_FORMAT_MSG_NO_LOOKUPS=”true”` for WD containers for log4j-shell bug.

## [3.3.13] - 2021-11-18
### Added
- Added suppport for Waggledance `mapped-tables` [configuration](https://github.com/ExpediaGroup/waggle-dance#mapped-tables).
Expand Down
4 changes: 4 additions & 0 deletions k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ resource "kubernetes_deployment" "waggle_dance" {
name = "HIVE_SITE_XML"
value = var.alluxio_endpoints == [] ? "" : base64encode(data.template_file.hive_site_xml.rendered)
}
env {
name = "LOG4J_FORMAT_MSG_NO_LOOKUPS"
value = "true"
}
resources {
limits {
memory = "${local.memory_limit}Mi"
Expand Down
4 changes: 4 additions & 0 deletions templates/waggledance.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
{
"name": "BASTION_SSH_KEY_ARN",
"value": "${bastion_ssh_key_arn}"
},
{
"name": "LOG4J_FORMAT_MSG_NO_LOOKUPS",
"value": "true"
}
],
"healthCheck": {
Expand Down

0 comments on commit 9fede84

Please sign in to comment.