elastic / elastic/elastic-package

Move mechanisms to override stack docker images to profiles

Open
#1,257 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
72
Forks
141
Avg merge
19h 42m
Merged PRs (30d)
55

Description

There are currently two main ways to override docker images used by the compose provider of `elastic-package stack`:
* Use the `image_ref_overrides` setting in the `.elastic-package/config.yml` file.
* Use the `*_IMAGE_REF_OVERRIDE` environment variables.

Both mechanisms are undocumented, barely supported and tested, and are not local to profiles, while the rest of stack resources and settings are.

We should establish a single supported mechanism for this, that works more like a profile setting, as other settings we have been recently adding (see https://github.com/elastic/elastic-package/pull/1211). And we should document it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the existing image_ref_overrides setting in .elastic-package/config.yml and the *_IMAGE_REF_OVERRIDE environment variables, then compare their behavior with the profile settings described in PR 1211. Define one profile-local supported mechanism for overriding compose-provider images, remove or deprecate the undocumented alternatives as appropriate, and document the resulting setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.