4dc74ac164
This change adds the CephIngress resource that can be used on top of CephNfs to deploy the ingress daemon through the orchestrator. Depends-On: I7e337596b653cf635f07a36606e9f673044402a3 Change-Id: Ibd20627a8b110364e13c2bf26848ba6e3a8e4060
73 lines
2.1 KiB
YAML
73 lines
2.1 KiB
YAML
heat_template_version: wallaby
|
|
|
|
description: >
|
|
Ceph Ingress Daemon service.
|
|
|
|
parameters:
|
|
ServiceData:
|
|
default: {}
|
|
description: Dictionary packing service data
|
|
type: json
|
|
ServiceNetMap:
|
|
default: {}
|
|
description: Mapping of service_name -> network name. Typically set
|
|
via parameter_defaults in the resource registry. Use
|
|
parameter_merge_strategies to merge it with the defaults.
|
|
type: json
|
|
RoleName:
|
|
default: ''
|
|
description: Role name on which the service is applied
|
|
type: string
|
|
RoleParameters:
|
|
default: {}
|
|
description: Parameters specific to the role
|
|
type: json
|
|
EndpointMap:
|
|
default: {}
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
via parameter_defaults in the resource registry.
|
|
type: json
|
|
KeepalivedContainerImage:
|
|
description: Keepalived container image
|
|
type: string
|
|
HaproxyContainerImage:
|
|
description: Haproxy container image
|
|
type: string
|
|
|
|
resources:
|
|
CephBase:
|
|
type: ./ceph-base.yaml
|
|
properties:
|
|
ServiceData: {get_param: ServiceData}
|
|
ServiceNetMap: {get_param: ServiceNetMap}
|
|
EndpointMap: {get_param: EndpointMap}
|
|
RoleName: {get_param: RoleName}
|
|
RoleParameters: {get_param: RoleParameters}
|
|
|
|
outputs:
|
|
role_data:
|
|
description: Role data for the Ceph Ingress service.
|
|
value:
|
|
service_name: ceph_ingress
|
|
firewall_rules:
|
|
'115 ceph_ingress':
|
|
dport:
|
|
- '2049'
|
|
- '8999'
|
|
upgrade_tasks: []
|
|
puppet_config: {}
|
|
docker_config: {}
|
|
external_deploy_tasks:
|
|
list_concat:
|
|
- {get_attr: [CephBase, role_data, external_deploy_tasks]}
|
|
- - name: ceph_ingress variables
|
|
when: step|int == 1
|
|
tags:
|
|
- ceph
|
|
block:
|
|
- name: set cephadm ingress vars
|
|
set_fact:
|
|
cephadm_ingress:
|
|
tripleo_cephadm_keepalived_image: {get_param: KeepalivedContainerImage}
|
|
tripleo_cephadm_haproxy_image: {get_param: HaproxyContainerImage}
|