Using Go install for misspell (#8191)

* chore: using go install misspell

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>

* chore: fix typo

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
This commit is contained in:
Jintao Zhang 2022-01-27 10:52:50 +08:00 committed by GitHub
parent 922e27fea7
commit 53ac0ddd42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -167,7 +167,7 @@ live-docs: ## Build and launch a local copy of the documentation website in http
.PHONY: misspell
misspell: ## Check for spelling errors.
@go get github.com/client9/misspell/cmd/misspell
@go install github.com/client9/misspell/cmd/misspell@latest
misspell \
-locale US \
-error \

View file

@ -63,7 +63,7 @@ FIELDS:
```
## What has caused this change in behaviour ?
## What has caused this change in behavior?
There are 2 reasons primarily.

View file

@ -251,7 +251,7 @@ Client Certificate Authentication is applied per host and it is not possible to
To enable, add the annotation `nginx.ingress.kubernetes.io/auth-tls-secret: namespace/secretName`. This secret must have a file named `ca.crt` containing the full Certificate Authority chain `ca.crt` that is enabled to authenticate against this Ingress.
You can further customize client certificate authentication and behaviour with these annotations:
You can further customize client certificate authentication and behavior with these annotations:
* `nginx.ingress.kubernetes.io/auth-tls-verify-depth`: The validation depth between the provided client certificate and the Certification Authority chain. (default: 1)
* `nginx.ingress.kubernetes.io/auth-tls-verify-client`: Enables verification of client certificates. Possible values are:

View file

@ -98,7 +98,7 @@ var _ = framework.IngressNginxDescribe("[Flag] watch namespace selector", func()
_, err = f.KubeClientSet.CoreV1().Namespaces().Update(context.TODO(), ns, metav1.UpdateOptions{})
assert.Nil(ginkgo.GinkgoT(), err, "labeling not matched namespace")
// update ingress to trigger reconcilation
// update ingress to trigger reconciliation
ing, err := f.KubeClientSet.NetworkingV1().Ingresses(notMatchedNs).Get(context.TODO(), notMatchedHost, metav1.GetOptions{})
assert.Nil(ginkgo.GinkgoT(), err, "retrieve test ingress")
if ing.Labels == nil {