Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keys with dots/periods and slashes #228

Open
adrmaas opened this issue Dec 20, 2022 · 0 comments
Open

Keys with dots/periods and slashes #228

adrmaas opened this issue Dec 20, 2022 · 0 comments

Comments

@adrmaas
Copy link

adrmaas commented Dec 20, 2022

I'm trying to assess config-lint for use in testing of helm charts and I'm not sure how to handle a common key formatting style without success. A common strategy for many applications is make annotations or labels that come in a format that includes dots and slashes. For example this snippet from the kali helm chart:
https://github.com/narenarjun/go-grpc-k8s-serverless/blob/c6184aae7945abbc519299d7ac5bf1032569bf3b/kubernetes/setup/istio/add-ons/kiali-install.yaml#L448-L462

I've been unable to find a way to escape forward slashes (/) or dots (.) in keys that are found in labels and annotations like:

  labels:
    app.kubernetes.io/name: kiali

Perhaps I've missed it in the documentation but I can't find any reference to an escape character either in the GitHub repository or the documentation site.

This has the effect of making it impossible to test many critical labels and annotations that operators or ingress routers depend on for the successful running of an application/service.

Any information regarding escaping characters in keys would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant