aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFW_CNF_CDS/templates/helm/base/templates
diff options
context:
space:
mode:
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/helm/base/templates')
-rw-r--r--heat/vFW_CNF_CDS/templates/helm/base/templates/network_attachment_definition.yaml11
-rw-r--r--heat/vFW_CNF_CDS/templates/helm/base/templates/onap-private-net.yaml10
-rw-r--r--heat/vFW_CNF_CDS/templates/helm/base/templates/protected-private-net.yaml10
-rw-r--r--heat/vFW_CNF_CDS/templates/helm/base/templates/pubkey.yaml7
-rw-r--r--heat/vFW_CNF_CDS/templates/helm/base/templates/unprotected-private-net.yaml10
5 files changed, 48 insertions, 0 deletions
diff --git a/heat/vFW_CNF_CDS/templates/helm/base/templates/network_attachment_definition.yaml b/heat/vFW_CNF_CDS/templates/helm/base/templates/network_attachment_definition.yaml
new file mode 100644
index 00000000..5cc01caa
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/helm/base/templates/network_attachment_definition.yaml
@@ -0,0 +1,11 @@
+apiVersion: k8s.cni.cncf.io/v1
+kind: NetworkAttachmentDefinition
+metadata:
+ name: {{ .Values.vnf_name }}-ovn-attachment
+spec:
+ config: |
+ {
+ "cniVersion": "0.3.1",
+ "name": "ovn4nfv-k8s-plugin",
+ "type": "ovn4nfvk8s-cni"
+ }
diff --git a/heat/vFW_CNF_CDS/templates/helm/base/templates/onap-private-net.yaml b/heat/vFW_CNF_CDS/templates/helm/base/templates/onap-private-net.yaml
new file mode 100644
index 00000000..e7afc35a
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/helm/base/templates/onap-private-net.yaml
@@ -0,0 +1,10 @@
+apiVersion: k8s.plugin.opnfv.org/v1alpha1
+kind: Network
+metadata:
+ name: {{ .Values.int_private2_net_id }}
+spec:
+ cniType : ovn4nfv
+ ipv4Subnets:
+ - name: {{ .Values.int_private2_subnet_id }}
+ subnet: {{ .Values.int_private2_net_cidr }}
+ gateway: {{ .Values.int_private2_gw_ip }}
diff --git a/heat/vFW_CNF_CDS/templates/helm/base/templates/protected-private-net.yaml b/heat/vFW_CNF_CDS/templates/helm/base/templates/protected-private-net.yaml
new file mode 100644
index 00000000..d0c04d9d
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/helm/base/templates/protected-private-net.yaml
@@ -0,0 +1,10 @@
+apiVersion: k8s.plugin.opnfv.org/v1alpha1
+kind: Network
+metadata:
+ name: {{ .Values.int_private1_net_id }}
+spec:
+ cniType : ovn4nfv
+ ipv4Subnets:
+ - name: {{ .Values.int_private1_subnet_id }}
+ subnet: {{ .Values.int_private1_net_cidr }}
+ gateway: {{ .Values.int_private1_gw_ip }}
diff --git a/heat/vFW_CNF_CDS/templates/helm/base/templates/pubkey.yaml b/heat/vFW_CNF_CDS/templates/helm/base/templates/pubkey.yaml
new file mode 100644
index 00000000..648a1793
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/helm/base/templates/pubkey.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ .Values.key_name }}
+type: Opaque
+stringData:
+ authorized_keys: {{ .Values.pub_key }}
diff --git a/heat/vFW_CNF_CDS/templates/helm/base/templates/unprotected-private-net.yaml b/heat/vFW_CNF_CDS/templates/helm/base/templates/unprotected-private-net.yaml
new file mode 100644
index 00000000..96eab476
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/helm/base/templates/unprotected-private-net.yaml
@@ -0,0 +1,10 @@
+apiVersion: k8s.plugin.opnfv.org/v1alpha1
+kind: Network
+metadata:
+ name: {{ .Values.onap_private_net_id }}
+spec:
+ cniType : ovn4nfv
+ ipv4Subnets:
+ - name: {{ .Values.onap_private_subnet_id }}
+ subnet: {{ .Values.onap_private_net_cidr }}
+ gateway: {{ .Values.onap_private_gw_ip }}