d463b05cfa
In case Kolla's users want to deploy with both of binary and source image, we should have a variable install type that define install type for each project. We also add specific image tag for each Openstack project. This commit is implemented for Ceilometer, Ceph Cinder, Cloudkitty and Congress projects. Change-Id: I560ab84545db2e034abe03613c4e7cb407e64ab2 Implements: blueprint mixing-binary-and-source-image
73 lines
2.8 KiB
YAML
73 lines
2.8 KiB
YAML
---
|
|
project_name: "congress"
|
|
|
|
congress_services:
|
|
congress-api:
|
|
container_name: congress_api
|
|
group: congress-api
|
|
enabled: true
|
|
image: "{{ congress_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/congress-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
congress-policy-engine:
|
|
container_name: congress_policy_engine
|
|
group: congress-policy-engine
|
|
enabled: true
|
|
image: "{{ congress_policy_engine_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/congress-policy-engine/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
congress-datasource:
|
|
container_name: congress_datasource
|
|
group: congress-datasource
|
|
enabled: true
|
|
image: "{{ congress_datasource_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/congress-datasource/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
congress_database_name: "congress"
|
|
congress_database_user: "congress"
|
|
congress_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
congress_install_type: "{{ kolla_install_type }}"
|
|
congress_tag: "{{ openstack_release }}"
|
|
|
|
congress_policy_engine_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ congress_install_type }}-congress-policy-engine"
|
|
congress_policy_engine_tag: "{{ congress_tag }}"
|
|
congress_policy_engine_image_full: "{{ congress_policy_engine_image }}:{{ congress_policy_engine_tag }}"
|
|
|
|
congress_datasource_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ congress_install_type }}-congress-datasource"
|
|
congress_datasource_tag: "{{ congress_tag }}"
|
|
congress_datasource_image_full: "{{ congress_datasource_image }}:{{ congress_datasource_tag }}"
|
|
|
|
congress_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ congress_install_type }}-congress-api"
|
|
congress_api_tag: "{{ congress_tag }}"
|
|
congress_api_image_full: "{{ congress_api_image }}:{{ congress_api_tag }}"
|
|
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
congress_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ congress_api_port }}"
|
|
congress_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ congress_api_port }}"
|
|
congress_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ congress_api_port }}"
|
|
|
|
congress_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
congress_keystone_user: "congress"
|
|
|
|
openstack_congress_auth: "{{ openstack_auth }}"
|