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

[Backport release-v3] feat: add description including helm version to collector #3425

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 .changelog/3423.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
Loading