From 314c0c1e45bc6a4c1ae0e7c030ebbf51b80abb35 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 26 Mar 2020 14:23:02 +0100 Subject: Fix spacing issues in YAML files in heat Fixes applied as reported by yamllint. Change-Id: I192de1f318c9aee58868807e4a9942b48b8b8e65 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski --- .../templates/helm/base_template/templates/onap-private-net.yaml | 2 +- .../templates/helm/base_template/templates/protected-private-net.yaml | 2 +- .../helm/base_template/templates/unprotected-private-net.yaml | 2 +- heat/vFW_CNF_CDS/templates/helm/vfw/templates/deployment.yaml | 2 +- heat/vFW_CNF_CDS/templates/helm/vpkg/templates/service.yaml | 2 +- heat/vFW_CNF_CDS/templates/helm/vsn/templates/deployment.yaml | 2 +- heat/vFW_CNF_CDS/templates/helm/vsn/templates/service.yaml | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'heat/vFW_CNF_CDS') diff --git a/heat/vFW_CNF_CDS/templates/helm/base_template/templates/onap-private-net.yaml b/heat/vFW_CNF_CDS/templates/helm/base_template/templates/onap-private-net.yaml index 1b9423f6..03a73104 100644 --- a/heat/vFW_CNF_CDS/templates/helm/base_template/templates/onap-private-net.yaml +++ b/heat/vFW_CNF_CDS/templates/helm/base_template/templates/onap-private-net.yaml @@ -7,7 +7,7 @@ metadata: release: {{ .Release.Name }} chart: {{ .Chart.Name }} spec: - cniType : ovn4nfv + cniType: ovn4nfv ipv4Subnets: - name: {{ .Values.onap_private_subnet_id }} subnet: {{ .Values.onap_private_net_cidr }} diff --git a/heat/vFW_CNF_CDS/templates/helm/base_template/templates/protected-private-net.yaml b/heat/vFW_CNF_CDS/templates/helm/base_template/templates/protected-private-net.yaml index 6b939d2a..5c4144e1 100644 --- a/heat/vFW_CNF_CDS/templates/helm/base_template/templates/protected-private-net.yaml +++ b/heat/vFW_CNF_CDS/templates/helm/base_template/templates/protected-private-net.yaml @@ -7,7 +7,7 @@ metadata: release: {{ .Release.Name }} chart: {{ .Chart.Name }} spec: - cniType : ovn4nfv + cniType: ovn4nfv ipv4Subnets: - name: {{ .Values.int_private2_subnet_id }} subnet: {{ .Values.int_private2_net_cidr }} diff --git a/heat/vFW_CNF_CDS/templates/helm/base_template/templates/unprotected-private-net.yaml b/heat/vFW_CNF_CDS/templates/helm/base_template/templates/unprotected-private-net.yaml index db2a5b32..dc6f151e 100644 --- a/heat/vFW_CNF_CDS/templates/helm/base_template/templates/unprotected-private-net.yaml +++ b/heat/vFW_CNF_CDS/templates/helm/base_template/templates/unprotected-private-net.yaml @@ -7,7 +7,7 @@ metadata: release: {{ .Release.Name }} chart: {{ .Chart.Name }} spec: - cniType : ovn4nfv + cniType: ovn4nfv ipv4Subnets: - name: {{ .Values.int_private1_subnet_id }} subnet: {{ .Values.int_private1_net_cidr }} diff --git a/heat/vFW_CNF_CDS/templates/helm/vfw/templates/deployment.yaml b/heat/vFW_CNF_CDS/templates/helm/vfw/templates/deployment.yaml index 2205cf89..1f535e7f 100644 --- a/heat/vFW_CNF_CDS/templates/helm/vfw/templates/deployment.yaml +++ b/heat/vFW_CNF_CDS/templates/helm/vfw/templates/deployment.yaml @@ -39,7 +39,7 @@ spec: - bash -c 'set -a; . /etc/cloud/environment; bash firewall.sh' VirtletRootVolumeSize: 5Gi k8s.v1.cni.cncf.io/networks: "{{ .Values.net_attachment_definition }}" - k8s.plugin.opnfv.org/nfn-network: | + k8s.plugin.opnfv.org/nfn-network: | { "type": "ovn4nfv", "interface": [ { "name": {{ .Values.int_private1_net_id | quote }}, diff --git a/heat/vFW_CNF_CDS/templates/helm/vpkg/templates/service.yaml b/heat/vFW_CNF_CDS/templates/helm/vpkg/templates/service.yaml index 84a7d1a0..7d2ecc13 100644 --- a/heat/vFW_CNF_CDS/templates/helm/vpkg/templates/service.yaml +++ b/heat/vFW_CNF_CDS/templates/helm/vpkg/templates/service.yaml @@ -10,7 +10,7 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: {{ .Values.service.ports.port }} + - port: {{ .Values.service.ports.port }} nodePort: {{ .Values.service.ports.nodePort }} selector: vf-module-name: {{ .Values.vpg_name_0 }} diff --git a/heat/vFW_CNF_CDS/templates/helm/vsn/templates/deployment.yaml b/heat/vFW_CNF_CDS/templates/helm/vsn/templates/deployment.yaml index 6f45ed4a..6d5fd985 100644 --- a/heat/vFW_CNF_CDS/templates/helm/vsn/templates/deployment.yaml +++ b/heat/vFW_CNF_CDS/templates/helm/vsn/templates/deployment.yaml @@ -48,7 +48,7 @@ spec: securityContext: privileged: true - name: darkstat - image: "{{ .Values.image.darkstatrepo }}:{{ .Values.image.darkstattag }}" + image: "{{ .Values.image.darkstatrepo }}:{{ .Values.image.darkstattag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} tty: true stdin: true diff --git a/heat/vFW_CNF_CDS/templates/helm/vsn/templates/service.yaml b/heat/vFW_CNF_CDS/templates/helm/vsn/templates/service.yaml index 7c51d4ff..e93a8c9a 100644 --- a/heat/vFW_CNF_CDS/templates/helm/vsn/templates/service.yaml +++ b/heat/vFW_CNF_CDS/templates/helm/vsn/templates/service.yaml @@ -10,8 +10,8 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: {{ .Values.service.ports.port }} - nodePort: {{ .Values.service.ports.nodePort }} + - port: {{ .Values.service.ports.port }} + nodePort: {{ .Values.service.ports.nodePort }} selector: vf-module-name: {{ .Values.vsn_name_0 }} release: {{ .Release.Name }} -- cgit 1.2.3-korg