helm / helm/helm-mapkubeapis

map file doesn't match \r\n

Open
#82 4 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
1k
Forks
121
PR merge metrics
No merged PRs in 30d

Description

i suspect helm charts created with macosx have an issue where my ingress was not getting matched because the file had \r\n instead of \n like in the map file.
my workaround was to use the following mapping

- deprecatedAPI: "apiVersion: networking.k8s.io/v1beta1\r\nkind: Ingress\r\n"
newAPI: "apiVersion: networking.k8s.io/v1\nkind: Ingress\n"

but i'm sure a quick string replace would be a better solution for this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.