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
65 lines
2.3 KiB
YAML
65 lines
2.3 KiB
YAML
---
|
|
project_name: "cloudkitty"
|
|
|
|
cloudkitty_services:
|
|
cloudkitty-api:
|
|
container_name: "cloudkitty_api"
|
|
group: "cloudkitty-api"
|
|
image: "{{ cloudkitty_api_image_full }}"
|
|
enabled: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/cloudkitty-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
cloudkitty-processor:
|
|
container_name: "cloudkitty_processor"
|
|
group: "cloudkitty-processor"
|
|
image: "{{ cloudkitty_processor_image_full }}"
|
|
enabled: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/cloudkitty-processor/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
cloudkitty_database_name: "cloudkitty"
|
|
cloudkitty_database_user: "cloudkitty"
|
|
cloudkitty_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
cloudkitty_install_type: "{{ kolla_install_type }}"
|
|
cloudkitty_tag: "{{ openstack_release }}"
|
|
|
|
cloudkitty_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ cloudkitty_install_type }}-cloudkitty-api"
|
|
cloudkitty_api_tag: "{{ cloudkitty_tag }}"
|
|
cloudkitty_api_image_full: "{{ cloudkitty_api_image }}:{{ cloudkitty_api_tag }}"
|
|
|
|
cloudkitty_processor_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ cloudkitty_install_type }}-cloudkitty-processor"
|
|
cloudkitty_processor_tag: "{{ cloudkitty_tag }}"
|
|
cloudkitty_processor_image_full: "{{ cloudkitty_processor_image }}:{{ cloudkitty_processor_tag }}"
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
cloudkitty_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ cloudkitty_api_port }}"
|
|
cloudkitty_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ cloudkitty_api_port }}"
|
|
cloudkitty_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ cloudkitty_api_port }}"
|
|
|
|
cloudkitty_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
cloudkitty_keystone_user: "cloudkitty"
|
|
|
|
openstack_cloudkitty_auth: "{{ openstack_auth }}"
|
|
|
|
|
|
####################
|
|
# Cloudkitty
|
|
####################
|
|
cloudkitty_openstack_keystone_default_role: "rating"
|