Skip to content

Rewrite plugin understanding #6460

Answered by chrisohaver
Neurobion asked this question in Q&A
Discussion options

You must be logged in to vote

You cant back reference the original name match in the answer rewrite.

Try answer auto to see if that works.

for example:

    rewrite stop {
        name regex (.*)\.coredns\.rocks xyz.service.consul
        answer auto
    }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Neurobion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants