diff --git a/helm/kubernetes-operator/templates/nbpolicies.yaml b/helm/kubernetes-operator/templates/nbpolicies.yaml index 0590b91..c5f24b2 100644 --- a/helm/kubernetes-operator/templates/nbpolicies.yaml +++ b/helm/kubernetes-operator/templates/nbpolicies.yaml @@ -19,10 +19,12 @@ spec: description: {{ $v.description }} {{- end }} {{- if $v.protocols }} - protocols: {{ $v.protocols }} + protocols: + {{ toYaml $v.protocols | nindent 4}} {{- end }} {{- if $v.ports }} - ports: {{ $v.ports }} + ports: + {{ toYaml $v.ports | nindent 4}} {{- end }} {{- if hasKey $v "bidirectional" }} bidirectional: {{ $v.bidirectional }}