cf_domain_name |
The CF domain to use for Kong |
string |
"" |
no |
cf_org_name |
The CF Org to deploy under |
string |
n/a |
yes |
cf_space_name |
The CF Space to deploy in |
string |
n/a |
yes |
db_json_params |
Optional DB JSON params |
string |
"{}" |
no |
db_plan |
The Database plan to use |
string |
"postgres-micro-dev" |
no |
disk |
The amount of Disk space to allocate for Kong (MB) |
number |
1024 |
no |
docker_password |
Docker registry password |
string |
"" |
no |
docker_username |
Docker registry username |
string |
"" |
no |
enable_postgres |
Enable or disables postgres persistence |
bool |
false |
no |
enable_protected_admin_api |
Enables the ADMIN API for use by e.g. Kong provider |
bool |
false |
no |
environment |
Environment variables for Kong app |
map(any) |
{} |
no |
hostnames |
The list of hostnames to use for the gateway |
list(string) |
[] |
no |
kong_autoscaler_config |
The Variant autoscaling configuration for Kong |
list(object({ min = number max = number query = string expr = string })) |
[ { "expr": "query_result > 80", "max": 5, "min": 2, "query": "avg(avg_over_time(cpu{guid="{{ guid }}"}[{{ window }}]))" } ] |
no |
kong_declarative_config_string |
Declarative configuration json for Kong. To be provided while running in db less declarative mode |
string |
"{\"_format_version\":\"1.1\", \"services\":[{\"host\":\"go-hello-world.eu-west.philips-healthsuite.com\",\"port\":443,\"protocol\":\"https\", \"routes\":[{\"paths\":[\"/\"]}]}],\"plugins\":[{\"name\":\"prometheus\"}]}" |
no |
kong_image |
Kong Docker image to use |
string |
"kong/kong:3.5.0" |
no |
kong_nginx_worker_processes |
Number of worker processes to use. When increase this, also increase memory allocation |
number |
4 |
no |
kong_plugins |
List of plugins to load |
list(string) |
[ "bundled" ] |
no |
memory |
The amount of RAM to allocate for Kong (MB) |
number |
1024 |
no |
name_postfix |
The postfix string to append to the hostname, prevents namespace clashes |
string |
"" |
no |
network_policies |
The container-to-container network policies to create with Kong as the source app |
list(object({ destination_app = string protocol = string port = string })) |
[] |
no |
start_command |
Explicit Docker startup command |
string |
"" |
no |
strategy |
Deployment strategy, 'none' or 'blue-green', default is 'none' |
string |
"none" |
no |