File tree Expand file tree Collapse file tree 5 files changed +13
-18
lines changed
charts/fluentd-aggregator Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
20
20
21
21
## [ UNRELEASED]
22
22
23
+ ## [ v4.1.2] - 2023-12-11### Fixed
24
+
25
+ - Fixed legacy migration by fixing the changes when the ` service.legacy ` value is set.
26
+
23
27
## [ v4.1.1] - 2023-12-07
24
28
29
+ > [ !WARNING]
30
+ > Do not use this version with ` service.legacy ` as the implementation was incorrect.
31
+
25
32
### Changed
26
33
27
34
- Updated _ Fluentd Aggregator_ OCI image to [ v2.10.1] ( https://github.com/stevehipwell/fluentd-aggregator/releases/tag/v2.10.1 ) (_ Fluentd_ [ v1.16.3] ( https://github.com/fluent/fluentd/releases/tag/v1.16.3 ) ).
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : fluentd-aggregator
3
3
description : Helm chart for Fluentd running as an aggregation StatefulSet and using the fluent-plugin-route router.
4
4
type : application
5
- version : 4.1.1
5
+ version : 4.1.2
6
6
appVersion : 2.10.1
7
7
keywords :
8
8
- fluent
@@ -21,9 +21,5 @@ maintainers:
21
21
annotations :
22
22
artifacthub.io/alternativeName : fluentd
23
23
artifacthub.io/changes : |
24
- - kind: changed
25
- description: "Updated _Fluentd Aggregator_ OCI image to [v2.10.1](https://github.com/stevehipwell/fluentd-aggregator/releases/tag/v2.10.1) (_Fluentd_ [v1.16.3](https://github.com/fluent/fluentd/releases/tag/v1.16.3))."
26
24
- kind: fixed
27
- description: "Fixed legacy migration by adding `service.legacy` value to support keeping the legacy headless service name."
28
- - kind: fixed
29
- description: "Fixed incorrect truncation of names when full name is longer than `53` characters."
25
+ description: "Fixed legacy migration by fixing the changes when the `service.legacy` value is set."
Original file line number Diff line number Diff line change 1
1
# fluentd-aggregator
2
2
3
- ![ Version: 4.1.1 ] ( https://img.shields.io/badge/Version-4.1.1 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 2.10.1] ( https://img.shields.io/badge/AppVersion-2.10.1-informational?style=flat-square )
3
+ ![ Version: 4.1.2 ] ( https://img.shields.io/badge/Version-4.1.2 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 2.10.1] ( https://img.shields.io/badge/AppVersion-2.10.1-informational?style=flat-square )
4
4
5
5
Helm chart for Fluentd running as an aggregation StatefulSet and using the fluent-plugin-route router.
6
6
@@ -23,14 +23,14 @@ Helm chart for Fluentd running as an aggregation StatefulSet and using the fluen
23
23
To install the chart using the recommended OCI method you can use the following command.
24
24
25
25
``` shell
26
- helm upgrade --install fluentd-aggregator oci://ghcr.io/stevehipwell/helm-charts/fluentd-aggregator --version 4.1.1
26
+ helm upgrade --install fluentd-aggregator oci://ghcr.io/stevehipwell/helm-charts/fluentd-aggregator --version 4.1.2
27
27
```
28
28
29
29
Alternativly you can use the legacy non-OCI method via the following commands.
30
30
31
31
``` shell
32
32
helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
33
- helm upgrade --install fluentd-aggregator stevehipwell/fluentd-aggregator --version 4.1.1
33
+ helm upgrade --install fluentd-aggregator stevehipwell/fluentd-aggregator --version 4.1.2
34
34
```
35
35
36
36
## Values
Original file line number Diff line number Diff line change @@ -68,23 +68,15 @@ Create the name of the service account to use
68
68
Define the service name
69
69
*/} }
70
70
{ {- define " fluentd-aggregator.serviceName" -} }
71
- { {- if .Values.service.legacy } }
72
- { {- (printf " %s-default" (include " fluentd-aggregator.fullname" .) | trunc 55 | trimSuffix " -" ) } }
73
- { {- else } }
74
71
{ {- include " fluentd-aggregator.fullname" . } }
75
72
{ {- end } }
76
- { {- end } }
77
73
78
74
{ {/*
79
75
Define the headless service name
80
76
*/} }
81
77
{ {- define " fluentd-aggregator.headlessServiceName" -} }
82
- { {- if .Values.service.legacy } }
83
- { {- include " fluentd-aggregator.fullname" . } }
84
- { {- else } }
85
78
{ {- (printf " %s-headless" (include " fluentd-aggregator.serviceName" .) | trunc 54 | trimSuffix " -" ) } }
86
79
{ {- end } }
87
- { {- end } }
88
80
89
81
{ {/*
90
82
Define the config configmap name
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
labels :
7
7
{{- include "fluentd-aggregator.labels" . | nindent 4 }}
8
8
spec :
9
- serviceName : {{ include "fluentd-aggregator.headlessServiceName" . }}
9
+ serviceName : {{ ternary ( include "fluentd-aggregator.serviceName" .) (include "fluentd-aggregator. headlessServiceName" .) .Values.service.legacy }}
10
10
{{- if not .Values.autoscaling.enabled }}
11
11
replicas : {{ .Values.replicas }}
12
12
{{- end }}
You can’t perform that action at this time.
0 commit comments