VOL-3139 - add name helper template
- includes the {{ .Release.Name }} be default
- can be overriden with
- nameOverride: override the {{ .Release.Name }}-{{ .Chart.Name }}
porition
- fullNameOverride: override everything
Change-Id: I0e1dbccba8f1e484e13e6f9ae43ea35ce97aac4f
diff --git a/voltha/templates/api-svc.yaml b/voltha/templates/api-svc.yaml
index 1804875..7edc0ea 100644
--- a/voltha/templates/api-svc.yaml
+++ b/voltha/templates/api-svc.yaml
@@ -15,7 +15,7 @@
apiVersion: v1
kind: Service
metadata:
- name: voltha-api
+ name: "{{ template "fullname" . }}-api"
namespace: "{{ .Release.Namespace }}"
spec:
ports: