Moved the configmap data to values.yaml to make it configurable
Change-Id: Idfef9a959cb29a67a64a0d42a177be8a8c06a74b
diff --git a/xos-core/templates/gui-style-configmap.yaml b/xos-core/templates/gui-style-configmap.yaml
index 8b05847..8b1564a 100644
--- a/xos-core/templates/gui-style-configmap.yaml
+++ b/xos-core/templates/gui-style-configmap.yaml
@@ -19,26 +19,4 @@
labels:
{{- include "xos-core.release_labels" . | indent 4 }}
data:
- config: |
- angular.module('app')
- .constant('StyleConfig', {
- projectName: 'R-CORD',
- favicon: 'cord-favicon.png',
- background: 'cord-bg.jpg',
- payoff: 'Your VNF orchestrator',
- logo: 'cord-logo.png',
- routes: [
- {
- label: 'Slices',
- state: 'xos.core.slice',
- },
- {
- label: 'Nodes',
- state: 'xos.core.node',
- },
- {
- label: 'Instances',
- state: 'xos.core.instance',
- },
- ]
- });
+ config: | {{ .Values.configs.gui_style | indent 4 }}