Skip to content

Commit

Permalink
Fix setting default namespace in helm releases
Browse files Browse the repository at this point in the history
  • Loading branch information
arnarg committed Dec 15, 2023
1 parent c993ed1 commit 7904a35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/applications.nix
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@
++ (lib.mapAttrsToList (n: v:
lib.resources.fromHelmChart {
inherit (v) name chart values includeCRDs;
namespace = v.namespace or config.namespace;
namespace =
if (isNull v.namespace)
then config.namespace
else v.namespace;
})
config.helm.releases));
};
Expand Down

0 comments on commit 7904a35

Please sign in to comment.