Skip to content

Commit

Permalink
Merge pull request #1159 from skmatti/secpol-fix
Browse files Browse the repository at this point in the history
Add open API validation for Security Policy
  • Loading branch information
k8s-ci-robot authored Jun 16, 2020
2 parents 35e155c + 92c49d5 commit 61701b9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apis/backendconfig/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ type CacheKeyPolicy struct {
}

// SecurityPolicyConfig contains configuration for CloudArmor-enabled backends.
// +k8s:openapi-gen=true
type SecurityPolicyConfig struct {
// Name of the security policy that should be associated.
Name string `json:"name"`
Expand Down
22 changes: 22 additions & 0 deletions pkg/apis/backendconfig/v1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 61701b9

Please sign in to comment.