File tree Expand file tree Collapse file tree 5 files changed +42
-5
lines changed
keps/sig-network/2449-move-externalDNS-out-of-kubernetes-incubator
repos/valid/keps/sig-owns-participates/1-the-bare-minimum Expand file tree Collapse file tree 5 files changed +42
-5
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ type Proposal struct {
110
110
OwningSIG string `json:"owningSig" yaml:"owning-sig" validate:"required"`
111
111
ParticipatingSIGs []string `json:"participatingSigs" yaml:"participating-sigs,flow,omitempty"`
112
112
Reviewers []string `json:"reviewers" yaml:",flow"`
113
- Approvers []string `json:"approvers" yaml:",flow"`
113
+ Approvers []string `json:"approvers" yaml:",flow" validate:"required" `
114
114
PRRApprovers []string `json:"prrApprovers" yaml:"prr-approvers,flow"`
115
115
Editor string `json:"editor" yaml:"editor,omitempty"`
116
116
CreationDate string `json:"creationDate" yaml:"creation-date"`
Original file line number Diff line number Diff line change @@ -2,5 +2,8 @@ title: Move ExternalDNS out of Kubernetes incubator
2
2
kep-number : 2449
3
3
authors :
4
4
- " @njuettner"
5
+ approvers :
6
+ - bowei
7
+ - thockin
5
8
owning-sig : sig-network
6
9
status : implemented
Original file line number Diff line number Diff line change @@ -70,6 +70,11 @@ func TestProposalValidate(t *testing.T) {
70
70
file string
71
71
errs []error
72
72
}{
73
+ {
74
+ name : "valid KEP: minimum fields" ,
75
+ file : "testdata/valid-kep-minimum.yaml" ,
76
+ errs : nil ,
77
+ },
73
78
{
74
79
name : "valid KEP: all fields" ,
75
80
file : "testdata/valid-kep-full.yaml" ,
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ status: a non-empty string
9
9
# creation-date: yyyy-mm-dd
10
10
# reviewers:
11
11
# - "@beth"
12
- # approvers:
13
- # - "@carolyn "
12
+ approvers :
13
+ - " @dorothy "
14
14
# prr-approvers:
15
- # - "@dorothy "
15
+ # - "@carolyn "
16
16
# stage: stable
17
17
# latest-milestone: v1.4
18
18
# milestone:
19
19
# alpha: v1.1
20
20
# beta: v1.2
21
- # stable: v1.3
21
+ # stable: v1.3
Original file line number Diff line number Diff line change
1
+ title : minimal
2
+ kep-number : 1337
3
+ authors :
4
+ - " @jpbetz"
5
+ - " @roycaihw"
6
+ - " @sttts"
7
+ owning-sig : sig-api-machinery
8
+ participating-sigs :
9
+ - sig-api-machinery
10
+ - sig-architecture
11
+ reviewers :
12
+ - " @deads2k"
13
+ - " @lavalamp"
14
+ - " @liggitt"
15
+ - " @mbohlool"
16
+ - " @sttts"
17
+ approvers :
18
+ - " @deads2k"
19
+ - " @lavalamp"
20
+ creation-date : 2018-04-15
21
+ last-updated : 2018-04-24
22
+ status : provisional
23
+
24
+ stage : beta
25
+ latest-milestone : " v1.19"
26
+ milestone :
27
+ alpha : " v1.19"
28
+ beta : " v1.20"
29
+ stable : " v1.22"
You can’t perform that action at this time.
0 commit comments