Skip to content

Commit

Permalink
Switch to more inclusive language (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
costimuraru committed Jun 23, 2020
1 parent 032f422 commit 81fb13c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform:
account_id: 11111111111 # enter your AWS account id here. This is used for the cluster-autoscaler helm chart.
short_region: va6
availability_zones: '["us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d"]'
whitelist_my_ip: "192.168.0.1/32" # enter your public ip (eg. by using http://ipv4.icanhazip.com)
allow_my_ip: "192.168.0.1/32" # enter your public ip (eg. by using http://ipv4.icanhazip.com)
tags:
Cluster: mykubernetescluster
worker_nodes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ resource "aws_security_group_rule" "aam-eks-cluster-ingress-node-https" {
}

resource "aws_security_group_rule" "aam-eks-cluster-ingress-workstation-https" {
cidr_blocks = ["${var.whitelist_cidrs}"]
cidr_blocks = ["${var.allowed_cidrs}"]
description = "Allow workstation to communicate with the cluster API Server"
from_port = 443
protocol = "tcp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ variable "short-region" {
type = "string"
}

variable "whitelist_cidrs" {
variable "allowed_cidrs" {
default = [
"{{ terraform.kubernetes.aws.whitelist_my_ip }}"
"{{ terraform.kubernetes.aws.allow_my_ip }}"
]
type = "list"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "kubernetes_service" "dashboard" {
selector {
app = "kubernetes-dashboard"
}
load_balancer_source_ranges = ["${var.whitelist_cidrs}"]
load_balancer_source_ranges = ["${var.allowed_cidrs}"]
port {
port = 443
target_port = 8443
Expand Down

0 comments on commit 81fb13c

Please sign in to comment.