mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
allow docker image/tag to be empty string
This is a work-around to allow evaluation for docs. It shouldn't have any real effect but should be properyl implemented at some point.
This commit is contained in:
parent
b8127b5dee
commit
e3127e8c14
1 changed files with 2 additions and 2 deletions
|
|
@ -34,13 +34,13 @@ in {
|
|||
name = mkOption {
|
||||
description = "Desired docker image name";
|
||||
type = types.str;
|
||||
default = builtins.unsafeDiscardStringContext config.image.imageName;
|
||||
default = if config.image != null then builtins.unsafeDiscardStringContext config.image.imageName else "";
|
||||
};
|
||||
|
||||
tag = mkOption {
|
||||
description = "Desired docker image tag";
|
||||
type = types.str;
|
||||
default = builtins.unsafeDiscardStringContext config.image.imageTag;
|
||||
default = if config.image != null then builtins.unsafeDiscardStringContext config.image.imageTag else "";
|
||||
};
|
||||
|
||||
registry = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue