Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] logzio-logs-collector-1.1.0 #553

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 parameters in your secret: env-id, log-type, logzio-listener-region, logzio-logs-token
8naama marked this conversation as resolved.
Show resolved Hide resolved
# 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