about summary refs log tree commit diff
path: root/tools/nixery/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-30T22·55+0100
committerVincent Ambo <github@tazj.in>2019-07-30T23·02+0100
commit2e4b1f85eef04c0abd83f5f47e1aa93c8ea84cb9 (patch)
tree96220740ace3354b504c5f2f349eee8cda859b5a /tools/nixery/default.nix
parent4802727408b7afeb8b5245e698053a700ebf6775 (diff)
fix(nix): Add empty image config to allow k8s usage
Introduce an empty runtime configuration object in each built layer.

This is required because Kubernetes expects the configuration to be
present (even if it's just empty values).

Providing an empty configuration will make Docker's API return a full
configuration struct with default (i.e. empty) values rather than
`null`, which works for Kubernetes.

This fixes issue #1. See the issue for additional details.
Diffstat (limited to 'tools/nixery/default.nix')
0 files changed, 0 insertions, 0 deletions