diff --git a/generator/app.go b/generator/app.go index a75e2b8c5..8fb971252 100644 --- a/generator/app.go +++ b/generator/app.go @@ -178,6 +178,7 @@ func getExistingContent(path string, fileFormat string) (string, error) { var funcMap = template.FuncMap{ "tzUrlEncode": tzUrlEncode, + "trimSpace": strings.TrimSpace, } // tzUrlEncode returns a url encoded string without the + shortcut. This is diff --git a/generator/sig_readme.tmpl b/generator/sig_readme.tmpl index 81646625f..0d4d347fa 100644 --- a/generator/sig_readme.tmpl +++ b/generator/sig_readme.tmpl @@ -62,7 +62,7 @@ The following subprojects are owned by sig-{{.Label}}: {{- range .Subprojects }} - **{{.Name}}** {{- if .Description }} - - Description: {{ .Description }} + - Description: {{ trimSpace .Description }} {{- end }} - Owners: {{- range .Owners }} diff --git a/sig-testing/README.md b/sig-testing/README.md index e6a814e18..385d6f66d 100644 --- a/sig-testing/README.md +++ b/sig-testing/README.md @@ -35,7 +35,6 @@ The Chairs of the SIG run operations and processes governing the SIG. The following subprojects are owned by sig-testing: - **kind** - Description: Kubernetes IN Docker. Run Kubernetes test clusters on your local machine using Docker containers as nodes. - - Owners: - https://raw.githubusercontent.com/kubernetes-sigs/kind/master/OWNERS - **repo-publishing** @@ -43,7 +42,6 @@ The following subprojects are owned by sig-testing: - https://raw.githubusercontent.com/kubernetes/publishing-bot/master/OWNERS - **testing-commons** - Description: The Testing Commons is a subproject within the Kubernetes sig-testing community interested code structure, layout, and execution of common test code used throughout the kubernetes project - - Owners: - https://raw.githubusercontent.com/kubernetes-sigs/testing_frameworks/master/OWNERS - https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/OWNERS