Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed Jan 23, 2024
1 parent 15295cf commit 7d4b2fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/tls_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const (
TLSv13 TLSVersion = "1.3"
)

// ClientValidationContext holds configuration that can be used to validate the client intiating the TLS connection
// ClientValidationContext holds configuration that can be used to validate the client initiating the TLS connection
// to the Gateway.
// By default, no client specific configuration is validated.
type ClientValidationContext struct {
Expand All @@ -124,5 +124,5 @@ type ClientValidationContext struct {
//
// +kubebuilder:validation:MaxItems=8
// +optional
CACertificateRefs []corev1.ObjectReference `json:caCertificateRefs,omitempty`
CACertificateRefs []corev1.ObjectReference `json:"caCertificateRefs,omitempty"`
}
4 changes: 2 additions & 2 deletions site/content/en/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ _Appears in:_



ClientValidationContext holds configuration that can be used to validate the client intiating the TLS connection to the Gateway. By default, no client specific configuration is validated.
ClientValidationContext holds configuration that can be used to validate the client initiating the TLS connection to the Gateway. By default, no client specific configuration is validated.

_Appears in:_
- [TLSSettings](#tlssettings)

| Field | Description |
| --- | --- |
| `CACertificateRefs` _[ObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectreference-v1-core) array_ | CACertificateRefs contains one or more references to Kubernetes objects that contain TLS certificates of the Certificate Authorities that can be used as a trust anchor to validate the certificates presented by the client.
| `caCertificateRefs` _[ObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectreference-v1-core) array_ | CACertificateRefs contains one or more references to Kubernetes objects that contain TLS certificates of the Certificate Authorities that can be used as a trust anchor to validate the certificates presented by the client.
A single reference to a Kubernetes ConfigMap, with the CA certificate in a key named `ca.crt` is currently supported.
References to a resource in different namespace are invalid UNLESS there is a ReferenceGrant in the target namespace that allows the certificate to be attached. |

Expand Down

0 comments on commit 7d4b2fd

Please sign in to comment.