Skip to content

Commit 495d552

Browse files
committed
fix: populate DEFAULT_QEMU_IMAGE to engine's env vars
1 parent e42ec5a commit 495d552

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

charts/cf-runtime/templates/runtime/runtime-env-spec-tmpl.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ runtimeScheduler:
2525
{{- end }}
2626
COMPOSE_IMAGE: {{ include "runtime.runtimeImageName" (dict "registry" $imageRegistry "imageFullName" $engineContext.runtimeImages.COMPOSE_IMAGE) | squote }}
2727
CONTAINER_LOGGER_IMAGE: {{ include "runtime.runtimeImageName" (dict "registry" $imageRegistry "imageFullName" $engineContext.runtimeImages.CONTAINER_LOGGER_IMAGE) | squote }}
28+
DEFAULT_QEMU_IMAGE: {{ include "runtime.runtimeImageName" (dict "registry" $imageRegistry "imageFullName" $engineContext.runtimeImages.DEFAULT_QEMU_IMAGE) | squote }}
2829
DOCKER_BUILDER_IMAGE: {{ include "runtime.runtimeImageName" (dict "registry" $imageRegistry "imageFullName" $engineContext.runtimeImages.DOCKER_BUILDER_IMAGE) | squote }}
2930
DOCKER_PULLER_IMAGE: {{ include "runtime.runtimeImageName" (dict "registry" $imageRegistry "imageFullName" $engineContext.runtimeImages.DOCKER_PULLER_IMAGE) | squote }}
3031
DOCKER_PUSHER_IMAGE: {{ include "runtime.runtimeImageName" (dict "registry" $imageRegistry "imageFullName" $engineContext.runtimeImages.DOCKER_PUSHER_IMAGE) | squote }}

charts/cf-runtime/tests/private-registry/private_registry_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tests:
4343
METRICS_PROMETHEUS_HOST: '0.0.0.0'
4444
METRICS_PROMETHEUS_PORT: '9100'
4545
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
46-
TRUSTED_QEMU_IMAGES: ''
46+
TRUSTED_QEMU_IMAGES: 'tonistiigi/binfmt'
4747
COMPOSE_IMAGE: 'somedomain.io/codefresh/compose:tagoverride'
4848
CONTAINER_LOGGER_IMAGE: 'somedomain.io/codefresh/cf-container-logger:tagoverride'
4949
DOCKER_BUILDER_IMAGE: 'somedomain.io/codefresh/cf-docker-builder:tagoverride'

charts/cf-runtime/tests/runtime/runtime_onprem_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ tests:
5656
METRICS_PROMETHEUS_HOST: '0.0.0.0'
5757
METRICS_PROMETHEUS_PORT: '9100'
5858
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
59-
TRUSTED_QEMU_IMAGES: ''
59+
TRUSTED_QEMU_IMAGES: 'tonistiigi/binfmt'
6060
COMPOSE_IMAGE: 'quay.io/codefresh/compose:tagoverride'
6161
CONTAINER_LOGGER_IMAGE: 'quay.io/codefresh/cf-container-logger:tagoverride'
6262
DOCKER_BUILDER_IMAGE: 'quay.io/codefresh/cf-docker-builder:tagoverride'

0 commit comments

Comments
 (0)