Add common helm chart

This helm chart provides common base templates that should be
included in each onap subchart. This chart is included as a
dependency within a charts requirements.yaml.

Change-Id: I0f4e155bcca31de79aa57b4ce45d26e86069ef72
Issue-ID: OOM-265
Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
diff --git a/kubernetes/common/common-templates/templates/_name.tpl b/kubernetes/common/common-templates/templates/_name.tpl
new file mode 100644
index 0000000..f6c221f
--- /dev/null
+++ b/kubernetes/common/common-templates/templates/_name.tpl
@@ -0,0 +1,15 @@
+{{/*
+  Expand the name of a chart.
+*/}}
+{{- define "common.name" -}}
+  {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
+{{/*
+  Create a default fully qualified application name.
+  Truncated at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
+*/}}
+{{- define "common.fullname" -}}
+  {{- $name := default .Chart.Name .Values.nameOverride -}}
+  {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
\ No newline at end of file