aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/helm/node-feature-discovery/templates/service.yaml
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-04-30 21:23:37 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-30 21:23:37 +0000
commit44edb464dcc62a4693e71e3f3ceb18bbcf27e70c (patch)
tree9ffea76bb30b8c63bcc6853d03abef1fbee5a279 /kud/deployment_infra/helm/node-feature-discovery/templates/service.yaml
parentda059633bfc66d591b660cc375cfca6c910a1f4a (diff)
parent4c49c8094c158199556faff88385c8abbd97e498 (diff)
Merge "Add nfd addon helm chart"
Diffstat (limited to 'kud/deployment_infra/helm/node-feature-discovery/templates/service.yaml')
-rw-r--r--kud/deployment_infra/helm/node-feature-discovery/templates/service.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/kud/deployment_infra/helm/node-feature-discovery/templates/service.yaml b/kud/deployment_infra/helm/node-feature-discovery/templates/service.yaml
new file mode 100644
index 00000000..65483625
--- /dev/null
+++ b/kud/deployment_infra/helm/node-feature-discovery/templates/service.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: nfd-master
+ labels:
+ {{- include "node-feature-discovery.labels" . | nindent 4 }}
+ role: master
+spec:
+ type: {{ .Values.master.service.type }}
+ ports:
+ - port: {{ .Values.master.service.port }}
+ targetPort: grpc
+ protocol: TCP
+ name: grpc
+ selector:
+ {{- include "node-feature-discovery.selectorLabels" . | nindent 4 }}