Skip to content

Commit

Permalink
[Release] logzio-logs-collector-1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
8naama authored Nov 11, 2024
2 parents 7672e3d + 1caf921 commit afee7d9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/logzio-logs-collector-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
--set secrets.env_id=${{ env.ENV_ID }} \
--set secrets.logzioLogsToken=${{ secrets.LOGZIO_LOGS_TOKEN }} \
--set secrets.logzioRegion=us \
--set secrets.logType=${{ env.ENV_ID }} \
logzio-logs-collector .
- name: Run log generator
Expand Down
2 changes: 1 addition & 1 deletion charts/logzio-logs-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: logzio-logs-collector
version: 1.0.9
version: 1.1.0
description: kubernetes logs collection agent for logz.io based on opentelemetry collector
type: application
home: https://logz.io/
Expand Down
5 changes: 4 additions & 1 deletion charts/logzio-logs-collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,17 @@ Changes in fields names:
- `kubernetes.annotations.*` -> `kubernetes_annotations_*`
## Change log
* 1.1.0
- Simplified user experience for independently managing logzio secrets.
- Remove requirment to set environment variables in the pods independently.
- Provided instructions in `values.yaml` regarding the process.
* 1.0.9
- **EKS fargate Breaking changes**:
- Add `nest` filters to remove dots from kubernetes metadata keys.
Changes in fields names:
- `kubernetes.*` -> `kubernetes_*`
- `kubernetes.labels.*` -> `kubernetes_labels_*`
- `kubernetes.annotations.*` -> `kubernetes_annotations_*`
* 1.0.8
- Bug-fix:
- Remove comment from `_helpers.tpl` template that breaks aws-logging configmap
Expand Down
2 changes: 0 additions & 2 deletions charts/logzio-logs-collector/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ containers:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
{{ if .Values.secrets.enabled}}
- name: ENV_ID
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -77,7 +76,6 @@ containers:
name: {{ .Values.secrets.name }}
key: custom-endpoint
{{- end -}}
{{ end }}
{{- if and (.Values.useGOMEMLIMIT) ((((.Values.resources).limits).memory)) }}
- name: GOMEMLIMIT
value: {{ include "logs-collector.gomemlimit" .Values.resources.limits.memory | quote }}
Expand Down
7 changes: 6 additions & 1 deletion charts/logzio-logs-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ fargateLogRouter:
enabled: false

secrets:
# When true, the logzio secret will be created and managed by this Chart. If you're managing the logzio secrets by yourself, set to false, note that in order for the default configuration to work proprly you need to create the following env variables: ENV_ID LOG_TYPE LOGZIO_REGION LOGZIO_LOGS_TOKEN
# When secrets.enabled is true, the logzio secret will be created and managed by this Chart.
# If you're managing the logzio secrets by yourself, set to false.
# Note that in order for the default configuration to work properly, you need to:
# 1. Update secrets.name to your custom secret name
# 2. Include these keys in your secret: env-id, log-type, logzio-listener-region, logzio-logs-token
# To use a custom endpoint, include custom-endpoint parameter in your secret and set secrets.customEndpoint to true.
enabled: true
name: logzio-log-collector-secrets
# environment indentifier attribute that will be added to all logs
Expand Down

0 comments on commit afee7d9

Please sign in to comment.