Templating inside a ConfigMap #1120
Unanswered
andreasgerstmayr
asked this question in
Q&A
Replies: 1 comment
-
Unfortunately not yet, but i'm trying to come up with a solution for this 🤞 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to template the namespace in a ConfigMap value?
E.g.
?
I have to specify the full name, because the TLS certificate is only valid for
tempo-sample-gateway.$namespace
andtempo-sample-gateway.$namespace.svc.cluster.local
but not fortempo-sample-gateway
.https://kyverno.io/blog/2024/02/15/kyverno-chainsaw-0.1.4-awesome-new-features/#good-example-the-chainsaw-v014-way shows a way to template a field, but in this case, creating a jmespath expression of the multi-line field makes stuff less readable.
Beta Was this translation helpful? Give feedback.
All reactions