Skip to content

Commit ef9f6a2

Browse files
author
Shashi Ranjan
committed
Kong v0.13.x support
1 parent 105b1bb commit ef9f6a2

5 files changed

+5
-10
lines changed

templates/kong-elb-cassandra-user-vpc-optional-hvm.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,7 @@
483483
"export KONG_DATABASE=cassandra\n",
484484
"export KONG_CASSANDRA_CONTACT_POINTS\n",
485485
"export KONG_CASSANDRA_PORT=", {"Ref": "CassandraPort"}, "\n",
486-
"export KONG_ADMIN_LISTEN=0.0.0.0:8001\n",
487-
"export KONG_ADMIN_LISTEN_SSL=0.0.0.0:8444\n",
486+
"export KONG_ADMIN_LISTEN='0.0.0.0:8001, 0.0.0.0:8444 ssl'\n",
488487
"echo \"[kong] installing Kong with following environments:\" \n",
489488
"env\n",
490489
"mkdir \/usr\/local\/kong && chown ec2-user \/usr\/local\/kong \n",

templates/kong-elb-cassandra-user-vpc-optional-pv.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,7 @@
469469
"export KONG_DATABASE=cassandra\n",
470470
"export KONG_CASSANDRA_CONTACT_POINTS\n",
471471
"export KONG_CASSANDRA_PORT=", {"Ref": "CassandraPort"}, "\n",
472-
"export KONG_ADMIN_LISTEN=0.0.0.0:8001\n",
473-
"export KONG_ADMIN_LISTEN_SSL=0.0.0.0:8444\n",
472+
"export KONG_ADMIN_LISTEN='0.0.0.0:8001, 0.0.0.0:8444 ssl'\n",
474473
"echo \"[kong] installing Kong with following environments:\" \n",
475474
"env\n",
476475
"mkdir \/usr\/local\/kong && chown ec2-user \/usr\/local\/kong \n",

templates/kong-elb-postgres-optional-vpc-new-hvm.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,7 @@
506506
"export KONG_PG_USER=", { "Ref" : "DBUsername" }, "\n",
507507
"export KONG_PG_DATABASE=", { "Ref" : "DBName" }, "\n",
508508
"export KONG_PG_PASSWORD=", { "Ref" : "DBPassword" }, "\n",
509-
"export KONG_ADMIN_LISTEN=0.0.0.0:8001\n",
510-
"export KONG_ADMIN_LISTEN_SSL=0.0.0.0:8444\n",
509+
"export KONG_ADMIN_LISTEN='0.0.0.0:8001, 0.0.0.0:8444 ssl'\n",
511510
"echo \"[kong] installing Kong with following environments:\" \n",
512511
"env\n",
513512
"mkdir \/usr\/local\/kong && chown ec2-user \/usr\/local\/kong \n",

templates/kong-elb-postgres-optional-vpc-optional-hvm.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,7 @@
594594
"export KONG_PG_USER=", { "Ref" : "DBUsername" }, "\n",
595595
"export KONG_PG_DATABASE=", { "Ref" : "DBName" }, "\n",
596596
"export KONG_PG_PASSWORD=", { "Ref" : "DBPassword" }, "\n",
597-
"export KONG_ADMIN_LISTEN=0.0.0.0:8001\n",
598-
"export KONG_ADMIN_LISTEN_SSL=0.0.0.0:8444\n",
597+
"export KONG_ADMIN_LISTEN='0.0.0.0:8001, 0.0.0.0:8444 ssl'\n",
599598
"echo \"[kong] installing Kong with following environments:\" \n",
600599
"env\n",
601600
"mkdir \/usr\/local\/kong && chown ec2-user \/usr\/local\/kong \n",

templates/kong-elb-postgres-optional-vpc-optional-pv.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,7 @@
521521
"export KONG_PG_USER=", { "Ref" : "DBUsername" }, "\n",
522522
"export KONG_PG_DATABASE=", { "Ref" : "DBName" }, "\n",
523523
"export KONG_PG_PASSWORD=", { "Ref" : "DBPassword" }, "\n",
524-
"export KONG_ADMIN_LISTEN=0.0.0.0:8001\n",
525-
"export KONG_ADMIN_LISTEN_SSL=0.0.0.0:8444\n",
524+
"export KONG_ADMIN_LISTEN='0.0.0.0:8001, 0.0.0.0:8444 ssl'\n",
526525
"echo \"[kong] installing Kong with following environments:\" \n",
527526
"env\n",
528527
"mkdir \/usr\/local\/kong && chown ec2-user \/usr\/local\/kong \n",

0 commit comments

Comments
 (0)