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

Upgrade Fluentd image to 1.11.5-sumo-0 #1286

Merged
merged 1 commit into from
Jan 5, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions deploy/helm/sumologic/upgrade-2.0.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,8 @@ function check_user_image() {
info "Migrating from image.repository '${USER_IMAGE_REPOSITORY}' to sumologic.setup.job.image.repository 'public.ecr.aws/sumologic/kubernetes-setup'"
yq w -i "${TEMP_FILE}" -- sumologic.setup.job.image.repository "public.ecr.aws/sumologic/kubernetes-setup"

info "Migrating from image.tag '${USER_VERSION}' to fluentd.image.tag '2.0.0'"
yq w -i "${TEMP_FILE}" -- fluentd.image.tag 2.0.0
info "Migrating from image.tag '${USER_VERSION}' to fluentd.image.tag '1.11.5-sumo-0'"
yq w -i "${TEMP_FILE}" -- fluentd.image.tag '1.11.5-sumo-0'
info "Migrating from image.repository '${USER_IMAGE_REPOSITORY}' to fluentd.image.repository 'public.ecr.aws/sumologic/kubernetes-fluentd'"
yq w -i "${TEMP_FILE}" -- fluentd.image.repository "public.ecr.aws/sumologic/kubernetes-fluentd"
else
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ sumologic:
fluentd:
image:
repository: public.ecr.aws/sumologic/kubernetes-fluentd
tag: 2.0.0-beta.1
tag: 1.11.5-sumo-0
pullPolicy: IfNotPresent

## Specifies whether a PodSecurityPolicy should be created
Expand Down
2 changes: 1 addition & 1 deletion tests/upgrade_v2_script/static/image_rename.log
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[INFO] Migrating from image.tag '1.3.0' to sumologic.setup.job.image.tag '2.0.0'
[INFO] Migrating from image.repository 'sumologic/kubernetes-fluentd' to sumologic.setup.job.image.repository 'public.ecr.aws/sumologic/kubernetes-setup'
[INFO] Migrating from image.tag '1.3.0' to fluentd.image.tag '2.0.0'
[INFO] Migrating from image.tag '1.3.0' to fluentd.image.tag '1.11.5-sumo-0'
[INFO] Migrating from image.repository 'sumologic/kubernetes-fluentd' to fluentd.image.repository 'public.ecr.aws/sumologic/kubernetes-fluentd'

Thank you for upgrading to v2.0.0 of the Sumo Logic Kubernetes Collection Helm chart.
Expand Down
2 changes: 1 addition & 1 deletion tests/upgrade_v2_script/static/image_rename.output.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fluentd:
image:
repository: public.ecr.aws/sumologic/kubernetes-fluentd
tag: 2.0.0
tag: 1.11.5-sumo-0
pullPolicy: IfNotPresent
logLevel: info
logLevelFilter: true
Expand Down