Skip to content

Commit

Permalink
Merge pull request #316 from alfrunes/audit-retention-90d
Browse files Browse the repository at this point in the history
chore: Update default logRetentionSeconds to 90 days
  • Loading branch information
alfrunes authored Jun 28, 2024
2 parents d433f7c + 5d72a37 commit f628af7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ The following table lists the parameters for the `auditlogs` component and their
| `auditlogs.imagePullSecrets` | Optional list of existing Image Pull Secrets in the format of `- name: my-custom-secret` | `[]` |
| `auditlogs.nodeSelector` | [Node selection](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) | `{}` |
| `auditlogs.podAnnotations` | add custom pod annotations | `nil` |
| `auditlogs.logRetentionSeconds` | Seconds before an audit event is evicted from the database | `2592000` |
| `auditlogs.logRetentionSeconds` | Seconds before an audit event is evicted from the database | `7776000` |
| `auditlogs.replicas` | Number of replicas | `1` |
| `auditlogs.affinity` | [Affinity map](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity) for the POD | `{}` |
| `auditlogs.resources.limits.cpu` | Resources CPU limit | `50m` |
Expand Down
3 changes: 3 additions & 0 deletions mender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Mender Helm chart

## Version 5.9.3
* Update default value `auditlogs.logRetentionSeconds` to `7776000` (90 days)

## Version 5.9.2
* Fix: generate delta worker mongodb secret when using an external secret and
the mongodb subchart is enabled.
Expand Down
2 changes: 1 addition & 1 deletion mender/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "3.7.5"
description: Mender is a robust and secure way to update all your software and deploy your IoT devices at scale with support for customization
name: mender
version: 5.9.2
version: 5.9.3
keywords:
- mender
- iot
Expand Down
2 changes: 1 addition & 1 deletion mender/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ auditlogs:
automigrate: true
# logRetentionSeconds gives the number of seconds before
# an audit event is evicted from the database
logRetentionSeconds: 2592000
logRetentionSeconds: 7776000
replicas: 1
resources:
limits:
Expand Down

0 comments on commit f628af7

Please sign in to comment.