Skip to content

Commit

Permalink
[Backport release-v3] feat: add description including helm version to…
Browse files Browse the repository at this point in the history
… collector (#3425)

* feat: add description including helm version to collector (#3423)

* chore: add description for collector

Signed-off-by: Dominik Rosiek <[email protected]>

* chore: regenerate goldenfiles

Signed-off-by: Dominik Rosiek <[email protected]>

* chore: changelog

Signed-off-by: Dominik Rosiek <[email protected]>

---------

Signed-off-by: Dominik Rosiek <[email protected]>
(cherry picked from commit eb4a6c0)

* Rename 3423.added.txt to 3425.added.txt

---------

Co-authored-by: Dominik Rosiek <[email protected]>
  • Loading branch information
sumo-backporter[bot] and sumo-drosiek authored Dec 1, 2023
1 parent 58907a8 commit 5bea7e4
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/3425.added.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat: add description including helm version to collector
1 change: 1 addition & 0 deletions deploy/helm/sumologic/conf/setup/resources.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
resource "sumologic_collector" "collector" {
name = var.collector_name
description = {{ printf "Sumo Logic Kubernetes Collection\nversion: %s" .Chart.Version | quote }}
fields = {
{{- $fields := .Values.sumologic.collector.fields }}
{{- range $name, $value := $fields }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
here_is_very_long_field_name = "another_value"
test_fields = "test_value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ data:
resources.tf: |
resource "sumologic_collector" "collector" {
name = var.collector_name
description = "Sumo Logic Kubernetes Collection\nversion: %CURRENT_CHART_VERSION%"
fields = {
}
}
Expand Down

0 comments on commit 5bea7e4

Please sign in to comment.