Reword redirect docs for clarity (#9504)

pull/9446/head
Luke Kysow 2021-01-07 11:40:59 -08:00 committed by GitHub
parent a556c0b025
commit 4f15f83dc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 10 deletions

View File

@ -277,18 +277,12 @@ spec:
name: 'Redirect', name: 'Redirect',
type: 'ServiceResolverRedirect: <optional>', type: 'ServiceResolverRedirect: <optional>',
description: { description: {
hcl: `When configured, all hcl: `When configured, all attempts to resolve the service this resolver defines will be substituted for the supplied redirect EXCEPT when the redirect has already been applied.
attempts to resolve the service this resolver defines will be substituted for
the supplied redirect EXCEPT when the redirect has already been applied.
<br><br> <br><br>
When substituting the supplied redirect into the all other fields besides When \`Redirect\` is set, all other fields besides \`Kind\`, \`Name\`, \`Namespace\` and \`Redirect\` will be ignored.`,
\`Kind\`, \`Name\`, and \`Redirect\` will be ignored.`, yaml: `When configured, all attempts to resolve the service this resolver defines will be substituted for the supplied redirect EXCEPT when the redirect has already been applied.
yaml: `When configured, all
attempts to resolve the service this resolver defines will be substituted for
the supplied redirect EXCEPT when the redirect has already been applied.
<br><br> <br><br>
When substituting the supplied redirect into the all other fields besides When \`redirect\` is set, all other fields besides \`redirect\` will be ignored.`,
\`redirect\` will be ignored.`,
}, },
children: [ children: [
{ {