4385fb682c
The default roles used by Barbican are missing. According to the policy.json the Key Manager comes with, four roles have to be defined. Change-Id: I8882c2cf328b62e68797e383b26908540d669629 Closes-Bug: #1657742
74 lines
2.9 KiB
YAML
74 lines
2.9 KiB
YAML
---
|
|
project_name: "barbican"
|
|
|
|
barbican_services:
|
|
barbican-api:
|
|
container_name: barbican_api
|
|
group: barbican-api
|
|
enabled: true
|
|
image: "{{ barbican_api_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/barbican-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "barbican:/var/lib/barbican/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
barbican-keystone-listener:
|
|
container_name: barbican_keystone_listener
|
|
group: barbican-keystone-listener
|
|
enabled: true
|
|
image: "{{ barbican_keystone_listener_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/barbican-keystone-listener/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
barbican-worker:
|
|
container_name: barbican_worker
|
|
group: barbican-worker
|
|
enabled: true
|
|
image: "{{ barbican_worker_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/barbican-worker/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
barbican_database_name: "barbican"
|
|
barbican_database_user: "barbican"
|
|
barbican_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
barbican_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-barbican-api"
|
|
barbican_api_tag: "{{ openstack_release }}"
|
|
barbican_api_image_full: "{{ barbican_api_image }}:{{ barbican_api_tag }}"
|
|
|
|
barbican_keystone_listener_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-barbican-keystone-listener"
|
|
barbican_keystone_listener_tag: "{{ openstack_release }}"
|
|
barbican_keystone_listener_image_full: "{{ barbican_keystone_listener_image }}:{{ barbican_keystone_listener_tag }}"
|
|
|
|
barbican_worker_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-barbican-worker"
|
|
barbican_worker_tag: "{{ openstack_release }}"
|
|
barbican_worker_image_full: "{{ barbican_worker_image }}:{{ barbican_worker_tag }}"
|
|
|
|
|
|
####################
|
|
# OpenStack
|
|
####################
|
|
barbican_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ barbican_api_port }}"
|
|
barbican_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ barbican_api_port }}"
|
|
barbican_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ barbican_api_port }}"
|
|
|
|
barbican_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
barbican_keystone_user: "barbican"
|
|
barbican_keymanager_role: "key-manager:service-admin"
|
|
barbican_creator_role: "creator"
|
|
barbican_observer_role: "observer"
|
|
barbican_audit_role: "audit"
|
|
|
|
openstack_barbican_auth: "{{ openstack_auth }}"
|