Skip to content

Allow imagePullPolicy override at the Plan.spec.upgrade level #380

@TrentMcGinnis

Description

@TrentMcGinnis

Is your feature request related to a problem? Please describe.

I preload my images into containerd in air-gapped environment. I am using the manifests provided where the environment variable "SYSTEM_UPGRADE_JOB_IMAGE_PULL_POLICY" is set to Always. This can be edited but I think it would be neat to be able to override that at the Plan.spec.upgrade level in case I know that the Plan I am running will have an image preloaded when there is no registry.

Describe the solution you'd like

When the option is run for upgrade container we should check if there is something set on the plan and if not use the default from either ENV or default value.

Describe alternatives you've considered

I understand I could just change the ENV default or not use the packaged manifest but this could add flexibility.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions