Skip to content

Commit

Permalink
Removed awscli & cacerts from docker build stage | Fixed prompt copies
Browse files Browse the repository at this point in the history
  • Loading branch information
Shah Newaz Khan committed Nov 10, 2019
1 parent 01a653b commit 4b1936b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Expand Up @@ -39,11 +39,6 @@ RUN GO111MODULE=off go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-
RUN curl -kLo /tmp/terraform.zip "https://releases.hashicorp.com/terraform/0.12.12/terraform_0.12.12_linux_amd64.zip" && \
unzip -d /usr/local/bin/ /tmp/terraform.zip

RUN apk add --update bash ca-certificates git python && \
apk add --update -t deps make py-pip

RUN pip install awscli

RUN chmod +x /usr/local/bin/* && \
upx --lzma /usr/local/bin/*

Expand Down
6 changes: 3 additions & 3 deletions internal/generate/kubernetes/generate.go
Expand Up @@ -193,7 +193,7 @@ func promptCredentials() Secrets {
}

accessKeyIDPrompt := promptui.Prompt{
Label: "Aws Access Key ID",
Label: "Aws Access Key ID: ",
Validate: validateAKID,
}

Expand All @@ -205,7 +205,7 @@ func promptCredentials() Secrets {
}

secretAccessKeyPrompt := promptui.Prompt{
Label: "Aws Access Key ID",
Label: "Aws Secret Access Key: ",
Validate: validateSAK,
Mask: '*',
}
Expand All @@ -218,7 +218,7 @@ func promptCredentials() Secrets {
}

regionPrompt := promptui.Select{
Label: "Select Region",
Label: "Select AWS Region: ",
Items: []string{"us-west-1", "us-west-2", "us-east-1", "us-east-2", "ca-central-1",
"eu-central-1", "eu-west-1", "ap-east-1", "ap-south-1"},
}
Expand Down

0 comments on commit 4b1936b

Please sign in to comment.