-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(meshtls): do not panic when no topLevel targetRef (#11468)
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
- Loading branch information
Showing
4 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
pkg/plugins/policies/meshtls/api/v1alpha1/testdata/full-valid-no-top-target.input.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from: | ||
- targetRef: | ||
kind: Mesh | ||
default: | ||
tlsVersion: | ||
min: TLS11 | ||
max: TLS12 | ||
tlsCiphers: | ||
- "ECDHE-ECDSA-AES128-GCM-SHA256" | ||
- "ECDHE-ECDSA-AES256-GCM-SHA384" | ||
- "ECDHE-ECDSA-CHACHA20-POLY1305" | ||
- "ECDHE-RSA-AES128-GCM-SHA256" | ||
- "ECDHE-RSA-AES256-GCM-SHA384" | ||
- "ECDHE-RSA-CHACHA20-POLY1305" | ||
mode: Strict |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters