Skip to content

Commit

Permalink
Merge pull request #34 from Nordstrom/linuxdownload
Browse files Browse the repository at this point in the history
Fix for linux download link
  • Loading branch information
SleepyBrett authored Dec 21, 2017
2 parents b5412f7 + 1545617 commit abe2f4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<!doctype html><html><head><title>Welcome to Kubelogin</title></head><body><h1>Kubelogin</h1><p>For kubelogin to work appropriately, there are a few things you'll need to setup on your own machine/environment! <br>These specs can be found on the github page <a href=https://github.com/Nordstrom/kubelogin/tree/master>here!</a> <br></p><h2>Kubelogin CLI</h2><p>Kubelogin CLI supports the following operating systems <ul><li><a href=/download/mac/kubelogin-cli-darwin.tar.gz>Click me for MacOS!</a></li><li><a href=/download/windows/kubelogin-cli-windows.zip>Click me for Windows!</a></li></ul></p></body></html>")
fmt.Fprint(writer, "<!doctype html><html><head><title>Welcome to Kubelogin</title></head><body><h1>Kubelogin</h1><p>For kubelogin to work appropriately, there are a few things you'll need to setup on your own machine/environment! <br>These specs can be found on the github page <a href=https://github.com/Nordstrom/kubelogin/tree/master>here!</a> <br></p><h2>Kubelogin CLI</h2><p>Kubelogin CLI supports the following operating systems <ul><li><a href=/download/mac/kubelogin-cli-darwin.tar.gz>Click me for MacOS!</a></li><li><a href=/download/windows/kubelogin-cli-windows.zip>Click me for Windows!</a></li><li><a href=/download/linux/kubelogin-cli-linux.tar.gz>Click me for Linux!</a></li></ul></p></body></html>")
}

//creates a mux with handlers for desired endpoints
Expand Down

0 comments on commit abe2f4b

Please sign in to comment.