From 15456171753c5004cc31ac531e10faf2f459d79e Mon Sep 17 00:00:00 2001
From: Brett Wagner
Date: Thu, 21 Dec 2017 12:33:59 -0800
Subject: [PATCH] Fix for linux download link
---
Dockerfile | 2 +-
Makefile | 2 +-
cmd/server/main.go | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 84528ac..4b4a6ff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
FROM quay.io/nordstrom/baseimage-ubuntu:16.04
-ARG CURRENT_TAG=v0.0.4
+ARG CURRENT_TAG=v0.0.51
ARG KUBELOGIN_DOWNLOAD_BASE_URL=https://github.com/Nordstrom/kubelogin/releases/download
RUN curl -sLo /tmp/kubelogin-server-linux-${CURRENT_TAG}.tar.gz ${KUBELOGIN_DOWNLOAD_BASE_URL}/${CURRENT_TAG}/kubelogin-server-${CURRENT_TAG}-linux.tar.gz \
diff --git a/Makefile b/Makefile
index a20b410..1bcf4fa 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ GITHUB_REPO_HOST_AND_PATH := github.com/$(GITHUB_REPO_OWNER)/$(GITHUB_REPO_NAME)
IMAGE_NAME := quay.io/nordstrom/kubelogin
BUILD := build
CURRENT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
-CURRENT_TAG := v0.0.5
+CURRENT_TAG := v0.0.51
GOLANG_TOOLCHAIN_VERSION := 1.9.1
.PHONY: image/build image/push
diff --git a/cmd/server/main.go b/cmd/server/main.go
index b8ab62f..d0d5be0 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -255,7 +255,7 @@ func healthHandler(writer http.ResponseWriter, request *http.Request) {
func defaultHandler(writer http.ResponseWriter, request *http.Request) {
writer.Header().Set("Content-Type", "text/html; charset=utf-8")
- fmt.Fprint(writer, "Welcome to KubeloginKubelogin
For kubelogin to work appropriately, there are a few things you'll need to setup on your own machine/environment!
These specs can be found on the github page here!
Kubelogin CLI
Kubelogin CLI supports the following operating systems
")
+ fmt.Fprint(writer, "Welcome to KubeloginKubelogin
For kubelogin to work appropriately, there are a few things you'll need to setup on your own machine/environment!
These specs can be found on the github page here!
Kubelogin CLI
Kubelogin CLI supports the following operating systems
")
}
//creates a mux with handlers for desired endpoints