{{- block "content" . }} {{- end }} {{ define "resources" }} {{- if gt (len .Ingress) 0 -}}

Ingress

{{- range $i := .Ingress -}} Host: {{ $i.Host }}

{{- end -}} {{- end -}} {{- if gt (len .VirtualMachine) 0 -}}

Virtual Machine

{{- range $i := .VirtualMachine -}} Name: {{ $i.Name }}
User: {{ $i.User }}
CPU Cores: {{ $i.CPUCores }}
Memory: {{ $i.Memory }}

{{- end -}} {{- end -}} {{- if gt (len .PostgreSQL) 0 -}}

PostgreSQL

{{- range $p := .PostgreSQL -}} Name: {{ $p.Name }}
Version: {{ $p.Version }}
Volume: {{ $p.Volume }}

{{- end -}} {{- end -}} {{- if gt (len .Volume) 0 -}}

Volumes

{{- range $v := .Volume -}} Name: {{ $v.Name }}
Size: {{ $v.Size }}

{{- end -}} {{- end -}} {{ end }}