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

Move pod-infra-container-image generation to schnauzer template helpers #1551

Merged
merged 2 commits into from
May 3, 2021

Commits on May 3, 2021

  1. Move pod-infra-container-image generation to schnauzer template helpers

    Previously, pluto talked to IMDS to get the current region so it could generate
    the right pause container URL.  This was added before we had the
    settings.aws.region setting, so that was the only way.  However, it means extra
    IMDS traffic, and it means you can't override the region of the image, which is
    useful when testing new regions.  (It also means you can't override the image
    arch, though that's less useful.)
    
    This creates a 'pause-prefix' helper, like the existing ecr-prefix helper, that
    can be used in schnauzer templates.
    
    This also adds a 'goarch' helper, to convert Bottlerocket-standard architecture
    names like x86_64 to "Go-like" architecture names like amd64, as used in the
    pause container.
    tjkirch committed May 3, 2021
    Configuration menu
    Copy the full SHA
    eaac383 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b3d129 View commit details
    Browse the repository at this point in the history