run hack/update-all.sh

This commit is contained in:
hzxuzhonghu 2017-11-08 17:31:19 +08:00
parent cc135e985c
commit 08c024f367
2 changed files with 26 additions and 8 deletions

View File

@ -114,10 +114,19 @@ message GroupResources {
// +optional // +optional
optional string group = 1; optional string group = 1;
// Resources is a list of resources within the API group. Subresources are // Resources is a list of resources this rule applies to.
// matched using a "/" to indicate the subresource. For example, "pods/logs" //
// would match request to the logs subresource of pods. The top level resource // For example:
// does not match subresources, "pods" doesn't match "pods/logs". // 'pods' matches pods.
// 'pods/log' matches the log subresource of pods.
// '*' matches all resources and their subresources.
// 'pods/*' matches all subresources of pods.
// '*/scale' matches all scale subresources.
//
// If wildcard is present, the validation rule will ensure resources do not
// overlap with each other.
//
// An empty list implies all resources and subresources in this API groups apply.
// +optional // +optional
repeated string resources = 2; repeated string resources = 2;

View File

@ -118,10 +118,19 @@ message GroupResources {
// +optional // +optional
optional string group = 1; optional string group = 1;
// Resources is a list of resources within the API group. Subresources are // Resources is a list of resources this rule applies to.
// matched using a "/" to indicate the subresource. For example, "pods/log" //
// would match request to the log subresource of pods. The top level resource // For example:
// does not match subresources, "pods" doesn't match "pods/log". // 'pods' matches pods.
// 'pods/log' matches the log subresource of pods.
// '*' matches all resources and their subresources.
// 'pods/*' matches all subresources of pods.
// '*/scale' matches all scale subresources.
//
// If wildcard is present, the validation rule will ensure resources do not
// overlap with each other.
//
// An empty list implies all resources and subresources in this API groups apply.
// +optional // +optional
repeated string resources = 2; repeated string resources = 2;