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

a key for an annotation with slash in the name #197

Open
osher opened this issue Mar 21, 2023 · 0 comments
Open

a key for an annotation with slash in the name #197

osher opened this issue Mar 21, 2023 · 0 comments

Comments

@osher
Copy link

osher commented Mar 21, 2023

Hi all.

I hope to find a way to load to consul something that can render with consul-template using tree | explode | toYAML into:

deployment:
  annotations:
    vault.security.banzaicloud.io/vault-addr: http://vault-helm.vault.svc:8200
    vault.security.banzaicloud.io/vault-role: applications-role
    vault.security.banzaicloud.io/vault-skip-verify: true
    vault.security.banzaicloud.io/vault-path: kubernetes

The problem is obviously, the slash character, which translates into a directory and a file instead of a single file.

Is there a way to use some character that will be replaced to slash as a part of the key name?
without it, we will need to have a special code path to handle just that instead of a simple tree | explode | toYAML...

Any point in the right direction will be 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