Skip to content

Commit 43976ac

Browse files
committed
[WIP] Add CVE Information to template.go
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
1 parent 9d54273 commit 43976ac

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

pkg/notes/document/template.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,24 @@ filename | sha512 hash
6363
{{- end -}}
6464
# Changelog since {{$PreviousRevision}}
6565
66+
{{with .CVEList -}}
67+
## Important Security Information
68+
69+
This release contains changes that address the following vulnerabilities:
70+
{{range .}}
71+
### {{.Title}}
72+
73+
{{.Description}}
74+
75+
__Rating:__ {{.Rating}} — __Score:__ {{.Score}} — __Published:__ {{.Published}}
76+
77+
{{if .LinkedPRs -}}
78+
Pull Requests: {{range .LinkedPRs}}[#{{print .}}](https://github.com/kubernetes/kubernetes/issues/{{print .}}) {{end}}
79+
{{ end -}}
80+
81+
{{ end }}
82+
{{- end -}}
83+
6684
{{with .NotesWithActionRequired -}}
6785
## Urgent Upgrade Notes
6886

0 commit comments

Comments
 (0)