mirror of https://github.com/status-im/consul.git
Fix some inconsistencies in jwt docs (#18234)
This commit is contained in:
parent
efb45fe851
commit
b162c51523
|
@ -67,7 +67,7 @@ The following list outlines field hierarchy, language-specific data types, and r
|
||||||
<Tab heading="YAML" group="yaml">
|
<Tab heading="YAML" group="yaml">
|
||||||
|
|
||||||
- [`apiVersion`](#apiversion): string | required | must be set to `consul.hashicorp.com/v1alpha1`
|
- [`apiVersion`](#apiversion): string | required | must be set to `consul.hashicorp.com/v1alpha1`
|
||||||
- [`kind`](#kind): string | required | must be set to `jwtProvider`
|
- [`kind`](#kind): string | required | must be set to `JWTProvider`
|
||||||
- [`metadata`](#metadata): map | required
|
- [`metadata`](#metadata): map | required
|
||||||
- [`name`](#metadata-name): string | required
|
- [`name`](#metadata-name): string | required
|
||||||
- [`namespace`](#metadata-namespace): string
|
- [`namespace`](#metadata-namespace): string
|
||||||
|
@ -289,7 +289,7 @@ CacheConfig = {
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: consul.hashicorp.com/v1alpha1 # required
|
apiVersion: consul.hashicorp.com/v1alpha1 # required
|
||||||
kind: jwtProvider # required
|
kind: JWTProvider # required
|
||||||
metadata: # required
|
metadata: # required
|
||||||
name: <name-of-provider-configuration-entry> # required
|
name: <name-of-provider-configuration-entry> # required
|
||||||
namespace: <namespace>
|
namespace: <namespace>
|
||||||
|
|
|
@ -98,7 +98,6 @@ The following outline shows how to format the service intentions configuration e
|
||||||
- [`suffix`](#spec-sources-permissions-http-header): string | no default
|
- [`suffix`](#spec-sources-permissions-http-header): string | no default
|
||||||
- [`regex`](#spec-sources-permissions-http-header): string | no default
|
- [`regex`](#spec-sources-permissions-http-header): string | no default
|
||||||
- [`invert`](#spec-sources-permissions-http-header): boolean | `false`
|
- [`invert`](#spec-sources-permissions-http-header): boolean | `false`
|
||||||
- [`type`](#spec-sources-type): string | `consul`
|
|
||||||
- [`description`](#spec-sources-description): string
|
- [`description`](#spec-sources-description): string
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
|
@ -195,12 +194,11 @@ Sources = [
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: consul.hashicorp.com/v1alpha1
|
apiVersion: consul.hashicorp.com/v1alpha1
|
||||||
kind: service-intentions
|
kind: ServiceIntentions
|
||||||
metadata:
|
metadata:
|
||||||
name: <name of destination service>
|
name: <name of destination service>
|
||||||
namespace: <destination namespace>
|
namespace: <destination namespace>
|
||||||
spec:
|
spec:
|
||||||
destination:
|
|
||||||
destination:
|
destination:
|
||||||
name: <name of destination service>
|
name: <name of destination service>
|
||||||
namespace: <destination namespace>
|
namespace: <destination namespace>
|
||||||
|
@ -238,7 +236,6 @@ spec:
|
||||||
- name: <http header name>
|
- name: <http header name>
|
||||||
regex: <regex pattern to match>
|
regex: <regex pattern to match>
|
||||||
invert: false
|
invert: false
|
||||||
type: consul
|
|
||||||
description: <description for API responses>
|
description: <description for API responses>
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
|
|
Loading…
Reference in New Issue