-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate additional fields - owning-sig and participating-sigs #1468
Validate additional fields - owning-sig and participating-sigs #1468
Conversation
/assign @justaugustus @calebamiles @jdumars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tightening this up, @dims!
Left a few comments.
/hold
@@ -4,8 +4,6 @@ authors: | |||
- "@calebamiles" | |||
- "@jbeda" | |||
owning-sig: sig-architecture |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
owning-sig: sig-architecture | |
owning-sig: sig-pm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DONE
@@ -4,8 +4,6 @@ authors: | |||
- "@calebamiles" | |||
- "@jbeda" | |||
owning-sig: sig-architecture | |||
participating-sigs: | |||
- kubernetes-wide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At some point, we probably want to reintroduce this idea?
Maybe something like scope: group|project
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we should. let's leave it out for now (out of this PR)
@@ -4,7 +4,7 @@ authors: | |||
- "@javier-b-perez" | |||
owning-sig: sig-release | |||
participating-sigs: | |||
- TBD | |||
- wg-k8s-infra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels odd, given that wg-k8s-infra is not a SIG.
Can we maybe go for participating
or participating-groups
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't want to change the key here in this PR, we should do a follow up to rename
pkg/kepval/keps/validations/yaml.go
Outdated
@@ -71,7 +86,34 @@ func (m *MustHaveAtLeastOneValue) Error() string { | |||
return fmt.Sprintf("%q must have at least one value", m.key) | |||
} | |||
|
|||
var listSIGsAndWGs []string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var listSIGsAndWGs []string | |
var listGroups []string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DONE
@dims -- Added the suggestions to #822 (comment). Thanks for this! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, justaugustus The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fetch the "correct" list from https://raw.githubusercontent.com/kubernetes/community/master/sigs.yaml and validate the fields using that list.