NiklasRosenstein / nyl

Nyl facilitates the orchestration of infrastructure and application deployment pipelines across different tools, making them work together in a seamless manner.
https://niklasrosenstein.github.io/nyl/
1 stars 0 forks source link

Do not load `nyl-project.yaml` configuration files that cross Git repository boundaries #11

Open NiklasRosenstein opened 1 month ago

NiklasRosenstein commented 1 month ago

The nyl-project.yaml configuration file is intended for configuration that ensures the semantic correctness of Nyl Kubernetes manifests, such as specifying the search path for Helm charts and whether ApplySets are automatically created.

When a project relies on the default nyl-project.yaml by not having that file, it could get weird when the project is somehow included in the subtree of another Git project that has it. This could throw over the semantics of the Nyl Kubernetes manifest.

Hence, I think we should take some precaution and not load nyl-project.yaml files if it cross the boundaries of Git worktrees.