edb3489820
Qinling is an OpenStack project to provide "Function as a Service". This project aims to provide a platform to support serverless functions. Change-Id: I239a0130f8c8b061b531dab530d65172b0914d7c Implements: blueprint ansible-qinling-support Story: 2005760 Task: 33468
48 lines
1.6 KiB
Django/Jinja
48 lines
1.6 KiB
Django/Jinja
{
|
|
"command": "qinling-engine --config-file /etc/qinling/qinling.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/qinling.conf",
|
|
"dest": "/etc/qinling/qinling.conf",
|
|
"owner": "qinling",
|
|
"perm": "0600"
|
|
}{% if qinling_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ qinling_policy_file }}",
|
|
"dest": "/etc/qinling/{{ qinling_policy_file }}",
|
|
"owner": "qinling",
|
|
"perm": "0600"
|
|
}{% endif %}{% if qinling_kubernetes_certificates is defined and qinling_kubernetes_certificates | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/kubernetes_ca.crt",
|
|
"dest": "/etc/qinling/pki/kubernetes/ca.crt",
|
|
"owner": "qinling",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/kubernetes.crt",
|
|
"dest": "/etc/qinling/pki/kubernetes/qinling.crt",
|
|
"owner": "qinling",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/kubernetes.key",
|
|
"dest": "/etc/qinling/pki/kubernetes/qinling.key",
|
|
"owner": "qinling",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/qinling",
|
|
"owner": "qinling:qinling",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/qinling",
|
|
"owner": "qinling:qinling",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|