forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
labels.md.tmpl
43 lines (32 loc) · 2.24 KB
/
labels.md.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Kubernetes GitHub Labels
## Table of Contents
- [Intro](#intro)
- [Why these labels?](#why-these-labels)
- [How do I add a new label?](#how-do-i-add-a-new-label)
{{ range $labelData := . -}}
- [Labels that apply to {{ $labelData.Description }}](#labels-that-apply-to-{{ $labelData.Link }})
{{ end }}
## Intro
This file was auto generated by the [label_sync](https://git.k8s.io/test-infra/label_sync/) tool,
based on the [labels.yaml](https://git.k8s.io/test-infra/label_sync/labels.yaml) that it uses to
sync github labels across repos in the [kubernetes github org](https://github.com/kubernetes)
### Why these labels?
The rule of thumb is that labels are here because they are intended to be produced or consumed by
our automation (primarily prow) across all repos. There are some labels that can only be manually
applied/removed, and where possible we would rather remove them or add automation to allow a
larger set of contributors to apply/remove them.
### How do I add a new label?
- Add automation that consumes/produces the label
- Open a PR, _with a single commit_, that:
- updates [labels.yaml](https://git.k8s.io/test-infra/label_sync/labels.yaml) with the new label(s)
- runs `hack/update-labels.sh` (to regenerate the label descriptions and associated CSS)
- Involve [sig-contributor-experience](https://git.k8s.io/community/sig-contributor-experience) in the change, eg: chat about it in slack, mention @kubernetes/sig-contributor-experience-pr-reviews in the PR, etc.
- After the PR is merged, a kubernetes CronJob is responsible for syncing labels daily
{{ range $labelData := . -}}
## Labels that apply to {{ $labelData.Description }}
| Name | Description | Added By | Prow Plugin |
| ---- | ----------- | -------- | --- |
{{ range $labelData.Labels -}}
| <a id="{{ anchor .Name }}" href="#{{ anchor .Name }}">`{{ .Name }}`</a> | {{ if .DeleteAfter -}} REMOVING. This will be deleted after {{ .DeleteAfter }} <br><br> {{ end -}} {{ .Description }} {{- if .Previously }} <br><br> This was previously {{ range .Previously -}} `{{.Name }}`, {{ end -}} {{ end -}} | {{.AddedBy }} | {{ if .ProwPlugin }} [{{.ProwPlugin}}](https://git.k8s.io/test-infra/prow/{{ if .IsExternalPlugin }}external-{{ end }}plugins/{{.ProwPlugin}}) {{ end }}|
{{ end }}
{{ end }}