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

[test] bump Flatcar tested version to Stable #569

Merged
merged 2 commits into from
Feb 12, 2025
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
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@

useGzip, err := strconv.ParseBool(os.Getenv("GZIP_COMPRESSION_ENABLED"))
if err != nil {
setupLog.Error(err, "proceeding without gzip compression for cloud-init data")
setupLog.Error(err, "proceeding without gzip compression for user-data")

Check warning on line 278 in cmd/main.go

View check run for this annotation

Codecov / codecov/patch

cmd/main.go#L278

Added line #L278 was not covered by tests
}

// LinodeMachine Controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,13 @@ spec:
value: (env('LINODE_REGION'))
content: |
set -e
# Get the latest version on Beta channel.
# NOTE: This can be changed to Stable when Akamai support will come on these channels.
# Get the latest version on Stable channel.
curl -fsSL --remote-name \
https://beta.release.flatcar-linux.net/amd64-usr/current/flatcar_production_akamai_image.bin.gz
https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_akamai_image.bin.gz

res=$(curl -s --request POST \
--url "https://${TARGET_API}/${TARGET_API_VERSION}/${URI}" \
--data '{"region":"'${LINODE_REGION}'","cloud_init":true,"label":"flatcar-beta"}' \
--data '{"region":"'${LINODE_REGION}'","cloud_init":true,"label":"flatcar-stable"}' \
--header "Authorization: Bearer ${LINODE_TOKEN}" \
--header "accept: application/json" \
--header "content-type: application/json")
Expand Down
Loading