[contrib/terraform/openstack] Add k8s_allowed_remote_ips variable (#4506)

* Add k8s_allowed_remote_ips variable

Useful for defining CIDRs allowed to initiate a SSH connection when
you don't want to use a bastion.

* Add TF_VAR_k8s_allowed_remote_ips variable to tf-apply-ovh
This commit is contained in:
Andreas Holmsten
2019-04-15 16:22:08 +02:00
committed by Kubernetes Prow Robot
parent c5fb734098
commit 7f1d9ff543
6 changed files with 36 additions and 18 deletions

View File

@@ -145,6 +145,12 @@ variable "bastion_allowed_remote_ips" {
default = ["0.0.0.0/0"]
}
variable "k8s_allowed_remote_ips" {
description = "An array of CIDRs allowed to SSH to hosts"
type = "list"
default = []
}
variable "worker_allowed_ports" {
type = "list"