Skip to content

Commit

Permalink
api: add missing audit mode enum values for EndpointPolicyEnabled
Browse files Browse the repository at this point in the history
PR  #11011 added only the generated APIs, but not the changes to
openapi.yaml and embedded_spec.go. Otherwise the respective consts are
removed when regenerating the API. Add them to api/v1/openapi.yaml now.

Fixes: 514a38b ("Handle audit mode in cilium endpoint list and kubectl get cep")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
  • Loading branch information
tklauser committed Jul 24, 2020
1 parent 4e11ae1 commit 0e80b72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion api/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,9 @@ definitions:
- ingress
- egress
- both

- audit-ingress
- audit-egress
- audit-both
EndpointPolicy:
description: Policy information of an endpoint
type: object
Expand Down
10 changes: 8 additions & 2 deletions api/v1/server/embedded_spec.go

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

0 comments on commit 0e80b72

Please sign in to comment.