fuel-ccp-neutron/service/neutron-metadata-agent.yaml

48 lines
1.3 KiB
YAML

service:
name: neutron-metadata-agent
container:
host-net: "true"
privileged: "true"
node-selector:
openstack-controller: "true"
probes:
readiness: "true"
liveness: "true"
volumes:
- name: netns
type: host
path: /run/netns
- name: metadata-socket
type: host
path: /var/lib/neutron/ccp
pre:
- name: metadata-agent-bootstrap
command: /tmp/metadata-agent-bootstrap.sh
daemon:
command: neutron-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/metadata-agent.ini
dependencies:
- neutron-db-sync
- rabbitmq
files:
- neutron.conf
- ml2-conf.ini
- metadata-agent.ini
- metadata-agent-bootstrap.sh
files:
neutron.conf:
path: /etc/neutron/neutron.conf
content: neutron.conf.j2
perm: "0600"
ml2-conf.ini:
path: /etc/neutron/plugins/ml2/ml2_conf.ini
content: ml2_conf.ini.j2
perm: "0600"
metadata-agent.ini:
path: /etc/neutron/metadata-agent.ini
content: metadata-agent.ini.j2
perm: "0600"
metadata-agent-bootstrap.sh:
path: /tmp/metadata-agent-bootstrap.sh
content: metadata-agent-bootstrap.sh
perm: "0755"