Artem

Results 90 comments of Artem

Hi, can you please explain the issue in more details. What is current and expected behaviour? I can see that `--crd-dri` flag is used only in [crd processor](https://github.com/arttor/helmify/blob/7704d84529700c84b1bad41eab534acc296ea98c/pkg/processor/crd/crd.go#L59) which is...

Hi, if `--crd-dir` is used, then helmify don't templates CRDs - resources with `kind: CustomResourceDefinition`. Instead, it puts such resources to `crds/-crd.yaml` without modification. The flag was introduced to support...

Afaik, source filenames are not used at all, only k8s resource names. In general, all input can be provided to [stdin](https://github.com/arttor/helmify?tab=readme-ov-file#usage): ```shell awk 'FNR==1 && NR!=1 {print "---"}{print}' //*.yaml |...

Sorry, you are correct. There is a bug. before rendering chart, [helmify checks crd by filename](https://github.com/arttor/helmify/blob/main/pkg/helm/chart.go#L69-L77). As a workaround you can use stdin input instead of `-f`: ```shell awk 'FNR==1...

sorry for not responding. But i am a bit struggling to understand the feature by looking at the code. Can you please explain what it does and what is the...

hi, i think that it is a good idea but i don't know how it can be implemented. Pass secret name in flag? What name for the secret should be...

secret name in flag - sound good

Hi, this one will be hard to fix. [Helmify removes all single quotes](https://github.com/arttor/helmify/blob/56a801760dc9cf0cd2ac11d5f08ff0a8bd3e2654/pkg/processor/deployment/deployment.go#L132) after marshaling template to yaml. Without this step all yaml values containing helm template expressions (anything with...

I think it will be appropriate solution if we find a way to replace current [strings.ReplaceAll(spec, "'", "")](https://github.com/arttor/helmify/blob/56a801760dc9cf0cd2ac11d5f08ff0a8bd3e2654/pkg/processor/deployment/deployment.go#L132) with a regex. The regex should ignore single quites in the middle...