Skip to content

Commit

Permalink
removed - redundant 'PODMASTER' references
Browse files Browse the repository at this point in the history
  • Loading branch information
wellsie committed May 31, 2016
1 parent 813262a commit cc1e747
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ variable "internal-tld" { default = "k8s" }
variable "k8s" {
default = {
hyperkube-image = "gcr.io/google_containers/hyperkube:v1.2.4"
podmaster-image = "gcr.io/google_containers/podmaster:1.1"
version = "v1.2.4"
}
}
Expand Down
1 change: 0 additions & 1 deletion modules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module "s3" {
hyperkube-image = "${ var.k8s.hyperkube-image }"
k8s-version = "${var.k8s.version}"
name = "${ var.name }"
podmaster-image = "${ var.k8s.podmaster-image }"
region = "${ var.aws.region }"
}

Expand Down
1 change: 0 additions & 1 deletion modules/s3/io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ variable "bucket-prefix" {}
variable "hyperkube-image" {}
variable "k8s-version" {}
variable "name" {}
variable "podmaster-image" {}
variable "region" {}

output "bucket-prefix" { value = "${ var.bucket-prefix }" }
7 changes: 6 additions & 1 deletion modules/s3/s3-cp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
function usage { cat <<EOF
USAGE: $0 [bucket]
example: $0 23234-bigbucket-us-west-1
Environment variables required: HYPERKUBE and REGION.
example:
HYPERKUBE=gcr.io/google_containers/hyperkube:v1.2.4 \
REGION=us-west-1 \
$0 23234-bigbucket-us-west-1
EOF
exit 1
}
Expand All @@ -27,7 +33,6 @@ set -o pipefail

# docker images
# HYPERKUBE=${HYPERKUBE:-"gcr.io/google_containers/hyperkube:v1.2.2"}
# PODMASTER="gcr.io/google_containers/podmaster:1.1"

# directories
CFSSL=.cfssl
Expand Down
1 change: 0 additions & 1 deletion modules/s3/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ resource "aws_s3_bucket" "ssl" {
provisioner "local-exec" {
command = <<EOF
HYPERKUBE=${ var.hyperkube-image } \
PODMASTER=${ var.podmaster-image } \
REGION=${ var.region } \
${ path.module }/s3-cp ${ var.bucket-prefix }
EOF
Expand Down

0 comments on commit cc1e747

Please sign in to comment.