-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add autoupgrade flag and enable stdout logging (#40)
* refactor: match stdout logging behavior with Helm This commit updates out Terraform module to default to the same stdout logging behavior as our Helm charts. ALLY-762 * refactor: match autoupgrade option from Helm Charts This commit adds a flag to control the agent's autoupgrade functionality, matching the Helm charts. ALLY-762 Co-authored-by: Salim Afiune <afiune@lacework.net>
- Loading branch information
Showing
6 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Kubernetes Deployment w/ Autoupgrade Disabled | ||
|
||
This example shows how to disable the autoupgrade functionality of the Lacework Agent. | ||
|
||
```hcl | ||
provider "kubernetes" {} | ||
module "lacework_k8s_datacollector" { | ||
source = "lacework/agent/kubernetes" | ||
version = "~> 1.0" | ||
lacework_access_token = "0123456789ABCDEF0123456789ABCDEF" | ||
lacework_agent_autoupgrade = false | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
provider "kubernetes" {} | ||
|
||
module "lacework_k8s_datacollector" { | ||
source = "../../" | ||
|
||
lacework_access_token = "0123456789ABCDEF0123456789ABCDEF" | ||
lacework_agent_autoupgrade = false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters