feat(submodules): support for submodule passthru

This commit is contained in:
Jaka Hudoklin 2019-10-06 21:36:13 +02:00
parent 7afbc91301
commit a8dcc69d54
No known key found for this signature in database
GPG key ID: D1F18234B07BD6E2
5 changed files with 30 additions and 30 deletions

View file

@ -26,7 +26,13 @@ in {
imports = with kubenix.modules; [ submodule k8s docker ];
config = {
submodule.name = "test-submodule";
submodule = {
name = "test-submodule";
passthru = {
kubernetes.objects = config.kubernetes.objects;
docker.images = config.docker.images;
};
};
kubernetes.resources.pods.nginx = {
metadata.name = name;