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

Update host containers for 1.24.1 #4233

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

koooosh
Copy link
Contributor

@koooosh koooosh commented Oct 4, 2024

Issue number:

N/A

Description of changes:
Update the admin host container to v0.11.12 and control host container to v0.7.16.

Also, add migrations to move to these versions on upgrade.

Testing done:

  • Test migration from v1.24.0 to v1.24.1
bash-5.1# apiclient get os
{
  "os": {
    "arch": "x86_64",
    "build_id": "c7070980-dirty",
    "pretty_name": "Bottlerocket OS 1.24.1 (aws-k8s-1.29)",
    "variant_id": "aws-k8s-1.29",
    "version_id": "1.24.1"
  }
}
bash-5.1# apiclient get settings.host-containers
{
  "settings": {
    "host-containers": {
      "admin": {
        "enabled": true,
        "source": "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-admin:v0.11.12",
        "superpowered": true,
        "user-data": "eyJzc2giOnsiYXV0aG9yaXplZC1rZXlzIjpbXX19"
      },
      "control": {
        "enabled": true,
        "source": "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-control:v0.7.16",
        "superpowered": false
      }
    }
  }
}
  • Test rollback from v1.24.1 to v1.24.0
bash-5.1# apiclient get os
{
  "os": {
    "arch": "x86_64",
    "build_id": "800458c4",
    "pretty_name": "Bottlerocket OS 1.24.0 (aws-k8s-1.29)",
    "variant_id": "aws-k8s-1.29",
    "version_id": "1.24.0"
  }
}
bash-5.1# apiclient get settings.host-containers
{
  "settings": {
    "host-containers": {
      "admin": {
        "enabled": true,
        "source": "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-admin:v0.11.11",
        "superpowered": true,
        "user-data": "eyJzc2giOnsiYXV0aG9yaXplZC1rZXlzIjpbXX19"
      },
      "control": {
        "enabled": true,
        "source": "328549459982.dkr.ecr.us-west-2.amazonaws.com/bottlerocket-control:v0.7.15",
        "superpowered": false
      }
    }
  }
}

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Signed-off-by: Kush Upadhyay <kushupad@amazon.com>
Signed-off-by: Kush Upadhyay <kushupad@amazon.com>
Signed-off-by: Kush Upadhyay <kushupad@amazon.com>
Signed-off-by: Kush Upadhyay <kushupad@amazon.com>
@koooosh koooosh merged commit 9ae4b13 into bottlerocket-os:develop Oct 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants