Browse Source

Adding ingress support

Adding ingress objects creation for service

Change-Id: I10f4fba42d5b6e4dd3b5f56d2ba2addedb49b60f
Depends-On: Ic621af6930f078eea17fd83fce26b42cd32ecf01
Andrey Pavlov 2 years ago
parent
commit
104e58e170
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      service/files/defaults.yaml
  2. 1
    1
      service/heat-api.yaml

+ 1
- 1
service/files/defaults.yaml View File

@@ -2,7 +2,7 @@ configs:
2 2
   heat:
3 3
     api_port:
4 4
       cont: 8004
5
-
5
+      ingress: orchestration
6 6
     db:
7 7
       username: heat
8 8
       password: password

+ 1
- 1
service/heat-api.yaml View File

@@ -49,7 +49,7 @@ service:
49 49
             - heat-service-create
50 50
           type: single
51 51
           command:
52
-            openstack endpoint create --region RegionOne orchestration public http://{{ address('heat-api') }}:{{ heat.api_port.cont }}/v1/%\(tenant_id\)s
52
+            openstack endpoint create --region RegionOne orchestration public http://{{ address('heat-api', heat.api_port, external=True) }}/v1/%\(tenant_id\)s
53 53
         - name: heat-internal-endpoint-create
54 54
           dependencies:
55 55
             - heat-service-create

Loading…
Cancel
Save