Commit fbb1f138 authored by Robin Bowes's avatar Robin Bowes Committed by Anton Babenko

Add a rule for consul CLI RPC (#83)

parent 8bf1919e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
variable "auto_ingress_rules" { variable "auto_ingress_rules" {
description = "List of ingress rules to add automatically" description = "List of ingress rules to add automatically"
type = "list" type = "list"
default = ["consul-tcp", "consul-webui-tcp", "consul-dns-tcp", "consul-dns-udp", "consul-serf-lan-tcp", "consul-serf-lan-udp", "consul-serf-wan-tcp", "consul-serf-wan-udp"] default = ["consul-tcp", "consul-cli-rpc-tcp", "consul-webui-tcp", "consul-dns-tcp", "consul-dns-udp", "consul-serf-lan-tcp", "consul-serf-lan-udp", "consul-serf-wan-tcp", "consul-serf-wan-udp"]
} }
variable "auto_ingress_with_self" { variable "auto_ingress_with_self" {
......
...@@ -20,6 +20,7 @@ variable "rules" { ...@@ -20,6 +20,7 @@ variable "rules" {
# Consul # Consul
consul-tcp = [8300, 8300, "tcp", "Consul server"] consul-tcp = [8300, 8300, "tcp", "Consul server"]
consul-cli-rpc-tcp = [8400, 8400, "tcp", "Consul CLI RPC"]
consul-webui-tcp = [8500, 8500, "tcp", "Consul web UI"] consul-webui-tcp = [8500, 8500, "tcp", "Consul web UI"]
consul-dns-tcp = [8600, 8600, "tcp", "Consul DNS"] consul-dns-tcp = [8600, 8600, "tcp", "Consul DNS"]
consul-dns-udp = [8600, 8600, "udp", "Consul DNS"] consul-dns-udp = [8600, 8600, "udp", "Consul DNS"]
...@@ -175,7 +176,7 @@ variable "auto_groups" { ...@@ -175,7 +176,7 @@ variable "auto_groups" {
} }
consul = { consul = {
ingress_rules = ["consul-tcp", "consul-webui-tcp", "consul-dns-tcp", "consul-dns-udp", "consul-serf-lan-tcp", "consul-serf-lan-udp", "consul-serf-wan-tcp", "consul-serf-wan-udp"] ingress_rules = ["consul-tcp", "consul-cli-rpc-tcp", "consul-webui-tcp", "consul-dns-tcp", "consul-dns-udp", "consul-serf-lan-tcp", "consul-serf-lan-udp", "consul-serf-wan-tcp", "consul-serf-wan-udp"]
ingress_with_self = ["all-all"] ingress_with_self = ["all-all"]
egress_rules = ["all-all"] egress_rules = ["all-all"]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment