aboutsummaryrefslogtreecommitdiffstats
path: root/ssl-source.yaml
blob: 26f2f72c936ab681a486495e62fb6ddc4cb429c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: 'ssl-source: SSL endpoint metadata for openstack'
Parameters:
  SSLCertificate:
    Default: ''
    Description: If set, the contents of an SSL certificate .crt file for encrypting SSL endpoints.
    Type: String
    NoEcho: true
  SSLKey:
    Default: ''
    Description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints.
    Type: String
    NoEcho: true
Resources:
  SSLConfig:
    Type: OS::Heat::StructuredConfig
    Properties:
      config:
        stunnel:
          cert:
            get_input: ssl_certificate
          key:
            get_input: ssl_key
          ports:
           - name: 'ec2'
             accept: 13773
             connect: 8773
           - name: 'image'
             accept: 13292
             connect: 9292
           - name: 'identity'
             accept: 13000
             connect: 5000
           - name: 'network'
             accept: 13696
             connect: 9696
           - name: 'compute'
             accept: 13774
             connect: 8774
           - name: 'swift-proxy'
             accept: 13080
             connect: 8080
           - name: 'cinder'
             accept: 13776
             connect: 8776