Add DBUF helm chart
- Support the SR-IOV (Static IP first)
https://jira.opennetworking.org/browse/AETHER-803
- Fix docker image and dbuf args
Change-Id: I2942c6a7816c8a747203113d58576d677fc1da03
diff --git a/apps/dbuf/templates/service.yml b/apps/dbuf/templates/service.yml
new file mode 100644
index 0000000..8139fb9
--- /dev/null
+++ b/apps/dbuf/templates/service.yml
@@ -0,0 +1,38 @@
+{{/*
+# Copyright 2021-present Open Networking Foundation
+
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+*/}}
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "dbuf.fullname" . }}
+ labels:
+ {{- include "dbuf.labels" . | nindent 4 }}
+spec:
+ selector:
+ {{- include "dbuf.selectorLabels" . | nindent 4 }}
+ ports:
+ - name: grpc
+ protocol: TCP
+ # TODO: define in values
+ port: 10000
+ targetPort: grpc
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "dbuf.fullname" . }}-stats
+ labels:
+ {{- include "dbuf.labels" . | nindent 4 }}
+spec:
+ selector:
+ {{- include "dbuf.selectorLabels" . | nindent 4 }}
+ ports:
+ - name: stats
+ protocol: TCP
+ # TODO: define in values
+ port: 8080
+ targetPort: stats