Merge pull request #51936 from CaoShuFeng/audit_doc_string
Automatic merge from submit-queue (batch tested with PRs 51833, 51936) fix docstring of advanced audit policy I found this when I write doc for advanced audit beta version. **Release note**: ``` NONE ```
This commit is contained in:
		| @@ -220,9 +220,9 @@ type GroupResources struct { | |||||||
| 	// +optional | 	// +optional | ||||||
| 	Group string | 	Group string | ||||||
| 	// Resources is a list of resources within the API group. Subresources are | 	// Resources is a list of resources within the API group. Subresources are | ||||||
| 	// matched using a "/" to indicate the subresource. For example, "pods/logs" | 	// matched using a "/" to indicate the subresource. For example, "pods/log" | ||||||
| 	// would match request to the logs subresource of pods. The top level resource | 	// would match request to the log subresource of pods. The top level resource | ||||||
| 	// does not match subresources, "pods" doesn't match "pods/logs". | 	// does not match subresources, "pods" doesn't match "pods/log". | ||||||
| 	// +optional | 	// +optional | ||||||
| 	Resources []string | 	Resources []string | ||||||
| 	// ResourceNames is a list of resource instance names that the policy matches. | 	// ResourceNames is a list of resource instance names that the policy matches. | ||||||
|   | |||||||
| @@ -108,9 +108,9 @@ message GroupResources { | |||||||
|   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 within the API group. Subresources are | ||||||
|   // matched using a "/" to indicate the subresource. For example, "pods/logs" |   // matched using a "/" to indicate the subresource. For example, "pods/log" | ||||||
|   // would match request to the logs subresource of pods. The top level resource |   // would match request to the log subresource of pods. The top level resource | ||||||
|   // does not match subresources, "pods" doesn't match "pods/logs". |   // does not match subresources, "pods" doesn't match "pods/log". | ||||||
|   // +optional |   // +optional | ||||||
|   repeated string resources = 2; |   repeated string resources = 2; | ||||||
| 
 | 
 | ||||||
|   | |||||||
| @@ -214,9 +214,9 @@ type GroupResources struct { | |||||||
| 	// +optional | 	// +optional | ||||||
| 	Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"` | 	Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"` | ||||||
| 	// Resources is a list of resources within the API group. Subresources are | 	// Resources is a list of resources within the API group. Subresources are | ||||||
| 	// matched using a "/" to indicate the subresource. For example, "pods/logs" | 	// matched using a "/" to indicate the subresource. For example, "pods/log" | ||||||
| 	// would match request to the logs subresource of pods. The top level resource | 	// would match request to the log subresource of pods. The top level resource | ||||||
| 	// does not match subresources, "pods" doesn't match "pods/logs". | 	// does not match subresources, "pods" doesn't match "pods/log". | ||||||
| 	// +optional | 	// +optional | ||||||
| 	Resources []string `json:"resources,omitempty" protobuf:"bytes,2,rep,name=resources"` | 	Resources []string `json:"resources,omitempty" protobuf:"bytes,2,rep,name=resources"` | ||||||
| 	// ResourceNames is a list of resource instance names that the policy matches. | 	// ResourceNames is a list of resource instance names that the policy matches. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue