Skip to content

Commit

Permalink
Merge pull request #21 from kube-logging/log-generator-v0.6
Browse files Browse the repository at this point in the history
log-generator: enable infinite log generation in log-generator by default for nginx logs
  • Loading branch information
pepov committed May 12, 2023
2 parents 138d793 + ecc9140 commit f72f052
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions charts/log-generator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
type: application
name: log-generator
version: 0.5.2
appVersion: v0.5.0
version: 0.6.0
appVersion: v0.6.0
kubeVersion: ">=1.16.0-0"
description: A Helm chart for Log-generator
keywords:
Expand All @@ -17,4 +17,4 @@ annotations:
description: Moved to to location
artifacthub.io/images: |
- name: log-generator
image: ghcr.io/kube-logging/log-generator:v0.5.0
image: ghcr.io/kube-logging/log-generator:v0.6.0
4 changes: 2 additions & 2 deletions charts/log-generator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# log-generator

![version: 0.5.2](https://img.shields.io/badge/version-0.5.2-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: v0.5.0](https://img.shields.io/badge/app%20version-v0.5.0-informational?style=flat-square) ![kube version: >=1.16.0-0](https://img.shields.io/badge/kube%20version->=1.16.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-log--generator-informational?style=flat-square)](https://artifacthub.io/packages/helm/kube-logging/log-generator)
![version: 0.6.0](https://img.shields.io/badge/version-0.6.0-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: v0.6.0](https://img.shields.io/badge/app%20version-v0.6.0-informational?style=flat-square) ![kube version: >=1.16.0-0](https://img.shields.io/badge/kube%20version->=1.16.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-log--generator-informational?style=flat-square)](https://artifacthub.io/packages/helm/kube-logging/log-generator)

A Helm chart for Log-generator

Expand Down Expand Up @@ -30,7 +30,7 @@ helm install --generate-name --wait kube-logging/log-generator
| securityContext | object | `{}` | |
| app.minInterval | int | `100` | |
| app.maxInterval | int | `1` | |
| app.count | int | `0` | |
| app.count | int | `-1` | |
| app.randomise | bool | `true` | |
| app.eventPerSec | int | `1` | |
| app.bytePerSec | int | `0` | |
Expand Down
4 changes: 1 addition & 3 deletions charts/log-generator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
level = "debug"
[message]
# The amount of log message to emit. (default: 0)
# The amount of log message to emit. (default: 0, -1 for generating messages indefinitely)
count = {{ .Values.app.count }}
# Randomise log content (default: true)
Expand All @@ -33,5 +33,3 @@ data:
[apache]
enabled = {{ .Values.app.apache }}
4 changes: 2 additions & 2 deletions charts/log-generator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ app:
# Maximum interval between log messages (s) (Default: 1)
maxInterval: 1
# maxInterval: 1
# The amount of log message to emit. (Default: 0)
count: 0
# The amount of log message to emit. (Default: 0, -1 to generate logs indefinitely)
count: -1
# Randomise log content (Default: true)
randomise: true
# The amount of log message to emit/s (Default: 1)
Expand Down

0 comments on commit f72f052

Please sign in to comment.