-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: v2 migration script - info on new default value for fluent-bit.i…
…mage.pullPolicy key instead of just adding it
- Loading branch information
Showing
10 changed files
with
117 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fluent-bit: | ||
image: | ||
fluent_bit: | ||
repository: public.ecr.aws/sumologic/fluent-bit | ||
tag: 1.6.0 | ||
pullPolicy: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[INFO] Mapping fluent-bit.image.fluent_bit.repository into fluent-bit.image.repository | ||
[INFO] Mapping fluent-bit.image.fluent_bit.tag into fluent-bit.image.tag | ||
|
||
[INFO] Migrating prometheus remote write urls | ||
[INFO] Leaving the fluent-bit.image.pullPolicy set to 'Always' | ||
[INFO] Please note that in v2.0 the fluent-bit.image.pullPolicy is set to 'IfNotPresent' by default | ||
[INFO] Leaving the fluent-bit.image.tag set to '1.6.0' | ||
[INFO] Please note that in v2.0 the fluent-bit.image.tag is set to '1.6.10' by default | ||
|
||
Thank you for upgrading to v2.0.0 of the Sumo Logic Kubernetes Collection Helm chart. | ||
A new yaml file has been generated for you. Please check the current directory for new_values.yaml. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
fluent-bit: | ||
image: | ||
repository: public.ecr.aws/sumologic/fluent-bit | ||
tag: 1.6.0 | ||
pullPolicy: Always |
39 changes: 39 additions & 0 deletions
39
tests/upgrade_v2_script/static/fluent_bit_no_image.input.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
fluent-bit: | ||
podLabels: {} | ||
podAnnotations: {} | ||
env: | ||
- name: CHART | ||
valueFrom: | ||
configMapKeyRef: | ||
name: sumologic-configmap | ||
key: fluentdLogs | ||
- name: NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
extraVolumes: | ||
- name: project2-db | ||
emptyDir: {} | ||
- name: project-db | ||
emptyDir: {} | ||
- name: project2-alerts | ||
hostPath: | ||
path: /var/project2/logs/alerts/alerts.json | ||
type: File | ||
- name: company-db | ||
emptyDir: {} | ||
extraVolumeMounts: | ||
- name: project2-db | ||
mountPath: /fluent-bit/project2 | ||
- name: project-db | ||
mountPath: /fluent-bit/project | ||
- name: project2-alerts | ||
mountPath: /var/project2/logs/alerts/alerts.json | ||
readOnly: true | ||
- name: company-db | ||
mountPath: /fluent-bit/company | ||
tolerations: | ||
- effect: NoSchedule | ||
operator: Exists | ||
service: | ||
flush: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
[INFO] Migrating prometheus remote write urls | ||
|
||
Thank you for upgrading to v2.0.0 of the Sumo Logic Kubernetes Collection Helm chart. | ||
A new yaml file has been generated for you. Please check the current directory for new_values.yaml. |
40 changes: 40 additions & 0 deletions
40
tests/upgrade_v2_script/static/fluent_bit_no_image.output.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
fluent-bit: | ||
podLabels: {} | ||
podAnnotations: {} | ||
env: | ||
- name: FLUENTD_LOGS_SVC | ||
valueFrom: | ||
configMapKeyRef: | ||
name: sumologic-configmap | ||
key: fluentdLogs | ||
- name: NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
extraVolumes: | ||
- name: project2-db | ||
emptyDir: {} | ||
- name: project-db | ||
emptyDir: {} | ||
- name: project2-alerts | ||
hostPath: | ||
path: /var/project2/logs/alerts/alerts.json | ||
type: File | ||
- name: company-db | ||
emptyDir: {} | ||
extraVolumeMounts: | ||
- name: project2-db | ||
mountPath: /fluent-bit/project2 | ||
- name: project-db | ||
mountPath: /fluent-bit/project | ||
- name: project2-alerts | ||
mountPath: /var/project2/logs/alerts/alerts.json | ||
readOnly: true | ||
- name: company-db | ||
mountPath: /fluent-bit/company | ||
tolerations: | ||
- effect: NoSchedule | ||
operator: Exists | ||
service: | ||
labels: | ||
sumologic.com/scrape: "true" |