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
44
45
46
47
48
49
50
51
52
53
54
55
|
{
"command": "uwsgi /etc/magnum/magnum-api-uwsgi.ini",
"config_files": [
{
"source": "{{ container_config_directory }}/magnum.conf",
"dest": "/etc/magnum/magnum.conf",
"owner": "magnum",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/magnum-api-uwsgi.ini",
"dest": "/etc/magnum/magnum-api-uwsgi.ini",
"owner": "magnum",
"perm": "0600"
}{% if magnum_enable_tls_backend | bool %},
{
"source": "{{ container_config_directory }}/magnum-cert.pem",
"dest": "/etc/magnum/certs/magnum-cert.pem",
"owner": "magnum",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/magnum-key.pem",
"dest": "/etc/magnum/certs/magnum-key.pem",
"owner": "magnum",
"perm": "0600"
}{% endif %}{% if magnum_kubeconfig_file_path is defined %},
{
"source": "{{ container_config_directory }}/kubeconfig",
"dest": "/var/lib/magnum/.kube/config",
"owner": "magnum",
"perm": "0600"
}{% endif %}
{% if magnum_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ magnum_policy_file }}",
"dest": "/etc/magnum/{{ magnum_policy_file }}",
"owner": "magnum",
"perm": "0600"
}{% endif %}{% if kolla_copy_ca_into_containers | bool %},
{
"source": "{{ container_config_directory }}/ca-certificates",
"dest": "/var/lib/kolla/share/ca-certificates",
"owner": "root",
"perm": "0644"
}{% endif %}
],
"permissions": [
{
"path": "/var/log/kolla/magnum",
"owner": "magnum:magnum",
"recurse": true
}
]
}
|