Add parameters for setting up keystone keys/certs in undercloud
[apex-tripleo-heat-templates.git] / ssl-source.yaml
1 Description: 'ssl-source: SSL endpoint metadata for openstack'
2 Parameters:
3   SSLCertificate:
4     Default: ''
5     Description: If set, the contents of an SSL certificate .crt file for encrypting SSL endpoints.
6     Type: String
7     NoEcho: true
8   SSLKey:
9     Default: ''
10     Description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints.
11     Type: String
12     NoEcho: true
13   SSLCACertificate:
14     Default: ''
15     Description: If set, the contents of an SSL certificate authority file.
16     Type: String
17 Resources:
18   SSLConfig:
19     Type: OS::Heat::StructuredConfig
20     Properties:
21       group: os-apply-config
22       config:
23         stunnel:
24           cert:
25             get_input: ssl_certificate
26           key:
27             get_input: ssl_key
28           cacert:
29             get_input: ssl_ca_certificate
30           ports:
31            - name: 'ec2'
32              accept: 13773
33              connect: 8773
34            - name: 'image'
35              accept: 13292
36              connect: 9292
37            - name: 'identity'
38              accept: 13000
39              connect: 5000
40            - name: 'network'
41              accept: 13696
42              connect: 9696
43            - name: 'compute'
44              accept: 13774
45              connect: 8774
46            - name: 'swift-proxy'
47              accept: 13080
48              connect: 8080
49            - name: 'cinder'
50              accept: 13776
51              connect: 8776
52            - name: 'ceilometer'
53              accept: 13777
54              connect: 8777