mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
feat(submodules): support for submodule passthru
This commit is contained in:
parent
7afbc91301
commit
a8dcc69d54
5 changed files with 30 additions and 30 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue