Skip to content

Commit

Permalink
[#774] docs: Fix the metadata.annotations: Too long in install.md (#…
Browse files Browse the repository at this point in the history
…853)

### What changes were proposed in this pull request?

Fix the metadata.annotations: Too long in `install.md`

### Why are the changes needed?

Solve the error message encountered below when using `kubectl apply -f`

`The CustomResourceDefinition "remoteshuffleservices.uniffle.apache.org" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
`

Fix: #774 

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

No.
  • Loading branch information
cchung100m committed May 10, 2023
1 parent ec9c278 commit 194c604
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/operator/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ to [crd yaml file](../../deploy/kubernetes/operator/config/crd/bases/uniffle.apa
Run the following command:

```
kubectl apply -f ${crd-yaml-file}
# create, cannot use apply here, see https://github.com/apache/incubator-uniffle/issues/774
kubectl create -f ${crd-yaml-file}
# update, make sure the crd-yaml-file is a complete CRD file.
kubectl replace -f ${crd-yaml-file}
```

## Setup or Update Uniffle Webhook
Expand Down

0 comments on commit 194c604

Please sign in to comment.