Commit 6eb7e5e
committed
Update ObservabilityPolicy API to have minimum one target ref (nginx#2753)
Update Observability API to have one minimum one target ref
Problem: User wants ObservabilityPolicy CRD should require a minimum of 1 TargetRef.
Solution: Add validation to have minimum one target ref for the ObservabilityPolicy CRDs.1 parent cba2139 commit 6eb7e5e
File tree
3 files changed
+3
-0
lines changed- apis/v1alpha1
- config/crd/bases
- deploy
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
| 907 | + | |
907 | 908 | | |
908 | 909 | | |
909 | 910 | | |
| |||
0 commit comments