mirror of https://github.com/istio/istio.io.git
10 lines
358 B
HTML
10 lines
358 B
HTML
{{- $branch := .Site.Data.args.source_branch_name -}}
|
|
{{- $key := cond (eq $branch "master") $branch (index (split $branch "-") 1) -}}
|
|
{{- $versions := .Site.Data.compatibility.supportStatus -}}
|
|
{{- $data := index (where $versions "version" $key) 0 -}}
|
|
|
|
{{- range $i, $v := $data.k8sVersions -}}
|
|
{{- if ne $i 0 -}}, {{ end -}}
|
|
{{- $v -}}
|
|
{{- end -}}
|