[CORD-2909] Flatten and parameterize charts
Change-Id: I695c1df063b0f6f6ccf280254d54cc701292348f
diff --git a/xos-core/templates/ws-service.yaml b/xos-core/templates/ws-service.yaml
index 8e54a5b..86912d1 100644
--- a/xos-core/templates/ws-service.yaml
+++ b/xos-core/templates/ws-service.yaml
@@ -1,3 +1,4 @@
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,12 +17,14 @@
kind: Service
metadata:
name: "xos-ws"
+ labels:
+ {{- include "xos-core.release_labels" . | indent 4 }}
spec:
type: NodePort
ports:
- - port: 3000
- targetPort: 3000
- nodePort: {{ .Values.node_ports.ws_service_port }}
- protocol: TCP
+ - port: 3000
+ targetPort: 3000
+ nodePort: {{ .Values.xos_wsNodePort }}
+ protocol: TCP
selector:
app: "xos-ws"