[Aether-1204] - Enhance the Dbuf helm chart

- Support two options for IP assigment
- Remove hardcoded service protocol and port

Change-Id: I899df50a01b4a48fccea396349c86cdb9d07c1f7
diff --git a/apps/dbuf/templates/deployment.yaml b/apps/dbuf/templates/deployment.yaml
index 3c8ef5e..d364ece 100644
--- a/apps/dbuf/templates/deployment.yaml
+++ b/apps/dbuf/templates/deployment.yaml
@@ -24,7 +24,7 @@
     spec:
       {{- if .Values.image.credentials }}
       imagePullSecrets:
-        {{- toYaml . | nindent 8 }}
+        - name: {{ .Release.Name }}.registry
       {{- end }}
       securityContext:
         {{- toYaml .Values.podSecurityContext | nindent 8 }}
@@ -43,10 +43,10 @@
           ports:
           - name: grpc
             containerPort: 10000
-            protocol: TCP
-          - name: stats
+            protocol:  {{ .Values.service.grpc.protocol }}
+          - name: exporter
             containerPort: 8080
-            protocol: TCP
+            protocol: {{ .Values.service.stats.protocol }}
       {{- with .Values.nodeSelector }}
       nodeSelector:
         {{- toYaml . | nindent 8 }}