summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/vars
diff options
context:
space:
mode:
authorVishal Patil <vishal.patil@nuagenetworks.net>2016-04-20 18:47:39 -0400
committerVishal Patil <vishal.patil@nuagenetworks.net>2016-04-24 11:10:52 -0400
commitbe399ff8c108f234604a1334eed3de5a6f0e3239 (patch)
treedaa067b1e383aa61cc0f1e7c4e47a9c1711ea3f4 /roles/nuage_master/vars
parent04b52454275572f9d09e76c6ce46bdd60aa46c72 (diff)
downloadopenshift-be399ff8c108f234604a1334eed3de5a6f0e3239.tar.gz
openshift-be399ff8c108f234604a1334eed3de5a6f0e3239.tar.bz2
openshift-be399ff8c108f234604a1334eed3de5a6f0e3239.tar.xz
openshift-be399ff8c108f234604a1334eed3de5a6f0e3239.zip
Changed service account creation to ansible
Diffstat (limited to 'roles/nuage_master/vars')
-rw-r--r--roles/nuage_master/vars/main.yaml16
1 files changed, 15 insertions, 1 deletions
diff --git a/roles/nuage_master/vars/main.yaml b/roles/nuage_master/vars/main.yaml
index c4c15d65c..d3536eb33 100644
--- a/roles/nuage_master/vars/main.yaml
+++ b/roles/nuage_master/vars/main.yaml
@@ -1,4 +1,7 @@
openshift_master_config_dir: "{{ openshift.common.config_base }}/master"
+openshift_master_ca_cert: "{{ openshift_master_config_dir }}/ca.crt"
+openshift_master_ca_key: "{{ openshift_master_config_dir }}/ca.key"
+openshift_master_ca_serial: "{{ openshift_master_config_dir }}/ca.serial.txt"
ca_cert: "{{ openshift_master_config_dir }}/ca.crt"
admin_config: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
cert_output_dir: /usr/share/nuage-openshift-monitor
@@ -15,6 +18,17 @@ 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_service_account: system:serviceaccount:default:nuage
+
+nuage_service_account_config:
+ apiVersion: v1
+ kind: ServiceAccount
+ metadata:
+ name: nuage
+
+nuage_tasks:
+ - policy add-cluster-role-to-user cluster-reader {{ nuage_service_account }}
+
nuage_master_cspadminpasswd: ''
-nuage_master_adminsusername: 'admin'
+nuage_master_adminusername: 'admin'
nuage_master_adminuserpasswd: 'admin'