Skip to content

Commit

Permalink
build: fetch loki image during build
Browse files Browse the repository at this point in the history
Refs: #2682
  • Loading branch information
alexandre-allard authored and TeddyAndrieux committed Aug 6, 2020
1 parent 824f9c0 commit 01dbca8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildchain/buildchain/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def _operator_image(name: str, **kwargs: Any) -> targets.OperatorImage:
'kube-scheduler',
'nginx-ingress-defaultbackend-amd64',
],
constants.GRAFANA_REPOSITORY: [
'loki',
],
constants.INGRESS_REPOSITORY: [
'nginx-ingress-controller',
],
Expand Down
5 changes: 5 additions & 0 deletions buildchain/buildchain/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ def _version_prefix(version: str, prefix: str = 'v') -> str:
version='latest',
digest=None,
),
Image(
name='loki',
version='1.5.0',
digest='sha256:922b3f412fdd9a8fb01115b6aebf5dac162647ce1c5ee3637ce1e2cff69e097b',
),
)

CONTAINER_IMAGES_MAP = {image.name: image for image in CONTAINER_IMAGES}
Expand Down

0 comments on commit 01dbca8

Please sign in to comment.