K8s: Update common openapi generation scripts (#81857)

This commit is contained in:
Ryan McKinley
2024-02-04 22:37:10 +02:00
committed by GitHub
parent 14a36b4040
commit 202eecccbc
7 changed files with 2529 additions and 2503 deletions
+1 -3
View File
@@ -23,9 +23,7 @@ go mod download
# the happy path
./hack/update-codegen.sh
# if wanting to agree to a change which introduces different openapi violations, run with the bool set to true
UPDATE_API_KNOWN_VIOLATIONS=true ./hack/update-codegen.sh
```
Note that the script deletes existing openapi go code and regenerates in place so that you will temporarily see
deleted files in your `git status`. After a successful run, you should see them restored.
```