From: Konrad Bańka Date: Thu, 27 Feb 2020 08:22:05 +0000 (+0100) Subject: Provide template of ssh service to be included by profiles X-Git-Tag: 1.6.0~43 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=demo.git;a=commitdiff_plain;h=39fd16c1871136565aa464d097aa9e21856a1dfb Provide template of ssh service to be included by profiles Issue-ID: INT-1457 Signed-off-by: Konrad Bańka Change-Id: If51f9debb204d9b5037ac38fafaef25de68cb260 --- diff --git a/heat/vFW_CNF_CDS/templates/cba/Templates/k8s-profiles/ssh-service-template.vtl b/heat/vFW_CNF_CDS/templates/cba/Templates/k8s-profiles/ssh-service-template.vtl new file mode 100644 index 00000000..190af7ed --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/cba/Templates/k8s-profiles/ssh-service-template.vtl @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.vpg_name_0 }}-ssh-access + labels: + vnf-name: {{ .Values.vnf_name }} + vf-module-name: {{ .Values.vpg_name_0 }} + release: {{ .Release.Name }} + chart: {{ .Chart.Name }} +spec: + type: NodePort + ports: + - port: 22 + nodePort: 30022 #TemplateMe + selector: + vf-module-name: {{ .Values.vpg_name_0 }} + release: {{ .Release.Name }} + chart: {{ .Chart.Name }}