diff options
author | Konrad Bańka <k.banka@samsung.com> | 2020-02-27 09:22:05 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-03-02 11:56:48 +0000 |
commit | 39fd16c1871136565aa464d097aa9e21856a1dfb (patch) | |
tree | 7baf8db2c575d3aa57f2226749ae23fd34a01283 | |
parent | ff77b4bcdc455133708123993acbbb0cd5cb9349 (diff) |
Provide template of ssh service to be included by profiles
Issue-ID: INT-1457
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: If51f9debb204d9b5037ac38fafaef25de68cb260
-rw-r--r-- | heat/vFW_CNF_CDS/templates/cba/Templates/k8s-profiles/ssh-service-template.vtl | 18 |
1 files changed, 18 insertions, 0 deletions
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 }} |