summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master
diff options
context:
space:
mode:
authorAniket Bhat <abhat@nuagenetworks.net>2016-04-15 10:58:43 -0400
committerAniket Bhat <abhat@nuagenetworks.net>2016-04-18 15:38:47 -0400
commitc529d49aadd6d6ed3a5193e9855ece583fad4583 (patch)
tree68b46ccfe0ac031416bf8416f4707ef750389c35 /roles/nuage_master
parent09532223570682737e9bb9d25ef4eb480cbdf3e2 (diff)
downloadopenshift-c529d49aadd6d6ed3a5193e9855ece583fad4583.tar.gz
openshift-c529d49aadd6d6ed3a5193e9855ece583fad4583.tar.bz2
openshift-c529d49aadd6d6ed3a5193e9855ece583fad4583.tar.xz
openshift-c529d49aadd6d6ed3a5193e9855ece583fad4583.zip
Support configurable admin user and password for the enterprise
Prefix changes for admin and password with nuage_master
Diffstat (limited to 'roles/nuage_master')
-rw-r--r--roles/nuage_master/templates/nuage-openshift-monitor.j26
-rw-r--r--roles/nuage_master/vars/main.yaml3
2 files changed, 9 insertions, 0 deletions
diff --git a/roles/nuage_master/templates/nuage-openshift-monitor.j2 b/roles/nuage_master/templates/nuage-openshift-monitor.j2
index 7228e646b..075de9d9e 100644
--- a/roles/nuage_master/templates/nuage-openshift-monitor.j2
+++ b/roles/nuage_master/templates/nuage-openshift-monitor.j2
@@ -15,6 +15,12 @@ vspVersion: {{ vsp_version }}
enterpriseName: {{ enterprise }}
# Name of the domain in which pods will reside
domainName: {{ domain }}
+# CSP admin user's password
+cspAdminPassword: {{ nuage_master_cspadminpasswd }}
+# Enterprise admin user name
+enterpriseAdminUser: {{ nuage_master_adminusername }}
+# Enterprise admin password
+enterpriseAdminPassword: {{ nuage_master_adminuserpasswd }}
# Location where logs should be saved
log_dir: {{ nuage_mon_rest_server_logdir }}
# Monitor rest server paramters
diff --git a/roles/nuage_master/vars/main.yaml b/roles/nuage_master/vars/main.yaml
index ec4562c77..c4c15d65c 100644
--- a/roles/nuage_master/vars/main.yaml
+++ b/roles/nuage_master/vars/main.yaml
@@ -15,3 +15,6 @@ nuage_ca_master_rest_server_key: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonSe
nuage_ca_master_rest_server_crt: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.crt"
nuage_master_crt_dir : /usr/share/nuage-openshift-monitor
+nuage_master_cspadminpasswd: ''
+nuage_master_adminsusername: 'admin'
+nuage_master_adminuserpasswd: 'admin'