Open valibali opened 4 months ago
Of the options you've presented I'd prefer the "ignore path" option as a new parameter. Something like lovely_ignore_subpath
, taking a space separated list of paths to ignore if they exist.
You could then set this globally as an environment variable if you wanted to.
Would you be interested in contributing this?
Absolutely!
Awesome.
A bit of guidance then:
pkg/features/features.go
cmd/argocd-lovely-plugin/packageDirectories.go
to exclude it.make generate
before submitting a PREnsure you document it in features.go as just being for ignoring 'sub applications' as that's all it'll do.
Usecase: Sometimes (especially when using ApplicationSets) in overlay directories (non-Kubernetes manifest-)YAML files are used. However they are picked up by the YAMLProcessor() as they were Kubernetes manifesters.
So can we either:
(deleting them with a pre-processor looked super-ugly)