mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #66447 from liggitt/api-violation-owner
Automatic merge from submit-queue (batch tested with PRs 66341, 66405, 66403, 66264, 66447). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Move api rules list under api-approvers-owned package Additions to this list should be rare and carefully reviewed ```release-note NONE ```
This commit is contained in:
commit
81b072a40b
@ -404,8 +404,8 @@ OPENAPI_FILENAME := $(OPENAPI_BASENAME).go
|
|||||||
OPENAPI_OUTPUT_PKG := pkg/generated/openapi
|
OPENAPI_OUTPUT_PKG := pkg/generated/openapi
|
||||||
BOILERPLATE_FILENAME := vendor/k8s.io/code-generator/hack/boilerplate.go.txt
|
BOILERPLATE_FILENAME := vendor/k8s.io/code-generator/hack/boilerplate.go.txt
|
||||||
REPORT_FILENAME := $(OUT_DIR)/violations.report
|
REPORT_FILENAME := $(OUT_DIR)/violations.report
|
||||||
KNOWN_VIOLATION_FILENAME := hack/testdata/api-rules/violation_exceptions.list
|
KNOWN_VIOLATION_FILENAME := api/api-rules/violation_exceptions.list
|
||||||
API_RULE_CHECK_FAILURE_MESSAGE := "Error: API rules check failed. Reported violations \"$(REPORT_FILENAME)\" differ from known violations \"$(KNOWN_VIOLATION_FILENAME)\". Please fix API source file if new violation is detected, or update known violations \"$(KNOWN_VIOLATION_FILENAME)\" if existing violation is being fixed. Please refer to hack/testdata/api-rules/README.md and https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators/rules for more information about the API rules being enforced."
|
API_RULE_CHECK_FAILURE_MESSAGE := "Error: API rules check failed. Reported violations \"$(REPORT_FILENAME)\" differ from known violations \"$(KNOWN_VIOLATION_FILENAME)\". Please fix API source file if new violation is detected, or update known violations \"$(KNOWN_VIOLATION_FILENAME)\" if existing violation is being fixed. Please refer to api/api-rules/README.md and https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators/rules for more information about the API rules being enforced."
|
||||||
|
|
||||||
# The tool used to generate open apis.
|
# The tool used to generate open apis.
|
||||||
OPENAPI_GEN := $(BIN_DIR)/openapi-gen
|
OPENAPI_GEN := $(BIN_DIR)/openapi-gen
|
||||||
|
Loading…
Reference in New Issue
Block a user