[CORD-2909] Flatten and parameterize charts
Change-Id: I695c1df063b0f6f6ccf280254d54cc701292348f
diff --git a/xos-core/templates/db-service.yaml b/xos-core/templates/db-service.yaml
index 802665a..3a71aaa 100644
--- a/xos-core/templates/db-service.yaml
+++ b/xos-core/templates/db-service.yaml
@@ -1,3 +1,4 @@
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,11 +20,10 @@
labels:
{{- include "xos-core.release_labels" . | indent 4 }}
spec:
- type: NodePort
- ports:
- - port: 5432
- targetPort: 5432
- nodePort: {{ .Values.node_ports.db_service_port }}
- protocol: TCP
+ type: ClusterIP
selector:
app: "xos-db"
+ ports:
+ - port: 5432
+ targetPort: 5432
+ protocol: TCP