Type | Description | PR | Issues | Author |
Breaking change |
Recognize `nyl.io/default-namespace: "true"` on Namespace resources to choose between one of multiple namespaces defined in the same manifest file. | | | @NiklasRosenstein |
Breaking change |
Instead of not assuming a default namespace when multiple `Namespace` resources are defined in a manifest file, pick the first one alphabetically when none have the `nyl.io/default-namespace: "true"` annotation | | | @NiklasRosenstein |
Improvement |
Apply Nyl `PostProcessor` instructions at the end, after Nyl had a chance to fill in the manifest file's determined default namespace. Kyverno might add the `namespace: default` field to any resource that has no namespace set, making it impossbile for Nyl after the fact to tell which resources need to have their namespace injected. | | | @NiklasRosenstein |
Fix |
Update `PostProcessor`, pointing Kyverno to a directory and expecting it to output all manifest, not just the mutated ones. The `PostProcessor` is now invoked at the very end, even after Nyl patches resources with the default namespace in the current manifest file. | | | @NiklasRosenstein |
Fix |
fix #57 -- `ARGOCD_APP_NAMESPACE` and the `--default-namespace` option are used now only when no namespace is defined in the manifest file | | | @NiklasRosenstein |
Improvement |
Resources generated by the Nyl `HelmChart` resource now get the chart resource's `metadata.namespace` populated before they are passed up and inlined into the rest of the manifest. Fixes #56 | | | @NiklasRosenstein |
Improvement |
Fix deprecation warnings of using the `loguru.logger.opt(ansi)` keyword argument and use the new `colors` kwarg instead | | | @NiklasRosenstein |
Feature |
Add `PostProcessor.spec.kyvernoRules` field as a shorthand for defining Kyverno policies in a Nyl manifest. | | | @NiklasRosenstein |
Refactor |
Refactor `PostProcessor` implementation for generating policy files and invoking Kyverno | | | @NiklasRosenstein |
Improvement |
`PostProcessor` log for invoking Kyverno now lists the policy file paths that are going to be applied | | | @NiklasRosenstein |
Fix |
`nyl new chart` now generates 2-space indented YAML and has a more complete template | | 47 | @NiklasRosenstein |