[CORD-2909] Flatten and parameterize charts

Change-Id: I695c1df063b0f6f6ccf280254d54cc701292348f
diff --git a/xos-core/templates/db-secrets.yaml b/xos-core/templates/db-secrets.yaml
index 5a5ca79..9f41343 100644
--- a/xos-core/templates/db-secrets.yaml
+++ b/xos-core/templates/db-secrets.yaml
@@ -1,3 +1,4 @@
+---
 # Copyright 2017-present Open Networking Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,8 +16,8 @@
 apiVersion: v1
 kind: Secret
 metadata:
-  name: xos-db-secret
+  name: xos-db-secrets
   namespace: default
 type: Opaque
 data:
-  postgres-password: {{ .Values.configs.core_config.database.password | b64enc | quote }}
+  password: {{ .Values.xosDBPassword | b64enc }}