summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/templates/nuage-openshift-monitor.j2
blob: de2a97e377e3a63284cc04bc809934e93f2127a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# .kubeconfig that includes the nuage service account
kubeConfig: {{ kube_config }}
# name of the nuage service account, or another account with 'cluster-reader'
# permissions
# Openshift master config file
masterConfig: {{ master_config_yaml }} 
# URL of the VSD Architect
vsdApiUrl: {{ vsd_api_url }} 
# API version to query against.  Usually "v3_2"
vspVersion: {{ vsp_version }} 
# File containing a VSP license to install.  Only necessary if no license has
# been installed on the VSD Architect before, only valid for standalone vsd install
# licenseFile: "/path/to/base_vsp_license.txt"
# Name of the enterprise in which pods will reside
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 parameters
# Logging level for the nuage openshift monitor
# allowed options are: 0 => INFO, 1 => WARNING, 2 => ERROR, 3 => FATAL
logLevel: {{ nuage_mon_log_level }}
# Parameters related to the nuage monitor REST server
nuageMonServer:
    URL: {{ nuage_mon_rest_server_url }}
    certificateDirectory: {{ cert_output_dir }}
# etcd config required for HA
etcdClientConfig:
    ca: {{ openshift_master_config_dir }}/{{ "ca.crt" if (openshift.master.embedded_etcd | bool) else "master.etcd-ca.crt" }}
    certFile: {{ openshift_master_config_dir }}/master.etcd-client.crt
    keyFile: {{ openshift_master_config_dir }}/master.etcd-client.key
    urls:
{% for etcd_url in openshift.master.etcd_urls %}
        - {{ etcd_url }}
{% endfor %}