Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #45 from gruntwork-io/yori-fix-regression
Browse files Browse the repository at this point in the history
Fix regression from v0.6.0: kubergrunt expects base64 encoded data
  • Loading branch information
yorinasub17 authored Oct 23, 2019
2 parents d99ec1c + 21064e9 commit 3ff147f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/k8s-tiller/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ resource "null_resource" "tiller_tls_ca_certs" {
# Use environment variables for Kubernetes credentials to avoid leaking into the logs
environment = {
KUBECTL_SERVER_ENDPOINT = var.kubectl_server_endpoint
KUBECTL_CA_DATA = base64decode(var.kubectl_ca_b64_data)
KUBECTL_CA_DATA = var.kubectl_ca_b64_data
KUBECTL_TOKEN = var.kubectl_token
}
}
Expand Down Expand Up @@ -336,7 +336,7 @@ resource "null_resource" "tiller_tls_certs" {
# Use environment variables for Kubernetes credentials to avoid leaking into the logs
environment = {
KUBECTL_SERVER_ENDPOINT = var.kubectl_server_endpoint
KUBECTL_CA_DATA = base64decode(var.kubectl_ca_b64_data)
KUBECTL_CA_DATA = var.kubectl_ca_b64_data
KUBECTL_TOKEN = var.kubectl_token
}
}
Expand Down

0 comments on commit 3ff147f

Please sign in to comment.