Skip to content

Commit

Permalink
0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
cmattoon committed Mar 4, 2019
1 parent 5e2cdb7 commit c557000
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Changelog
=========
[0.1.6] - 2019-03-04
--------------------
### Added
- aws-iam-authenticator for AWS EKS Support [Issue #16]

[0.1.5] - 2019-01-25
--------------------
### Fixed
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ RUN go get -u -v github.com/kubernetes-sigs/aws-iam-authenticator/cmd/aws-iam-au

## Stage 2
FROM library/alpine

ARG TAG_VERSION

LABEL org.label-schema.schema-version = "1.0.0"
LABEL org.label-schema.version = "0.1.5"
LABEL org.label-schema.version = "$TAG_VERSION"
LABEL org.label-schema.name = "aws-ssm"
LABEL org.label-schema.description = "Updates Kubernetes Secrets with AWS SSM Parameters"
LABEL org.label-schema.vendor = "com.cmattoon"
Expand Down
16 changes: 12 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,32 @@ DOCKERFILE_DIR = .
DOCKERFILE = Dockerfile

# Output file
AWS_SSM_EXE = build/aws-ssm
AWS_SSM_EXE = build/aws-ssm-$(IMAGE_TAG)

CHART_DIR ?= $(IMAGE_NAME)
RBAC_ENABLED ?= true
HOST_SSL_DIR ?= ""
EXTRA_ARGS ?=

BUILD_FLAGS ?= -v
LDFLAGS ?= -X github.com/cmattoon/aws-ssm/pkg/config.Version=$(IMAGE_TAG) -w -s

.PHONY: test
test:
./scripts/go_test.sh

.PHONY: build
build:
go build -o $(AWS_SSM_EXE)
build: $(AWS_SSM_EXE)
$(AWS_SSM_EXE):
go build -o $(AWS_SSM_EXE) $(BUILD_FLAGS) -ldflags "$(LDFLAGS)"

.PHONY: clean
clean:
rm build/*

.PHONY: container
container:
docker build \
--build-arg TAG_VERSION=$(IMAGE_TAG) \
-t $(CURRENT_IMAGE) $(DOCKERFILE_DIR) -f $(DOCKERFILE)
docker tag $(CURRENT_IMAGE) $(LATEST_IMAGE)

Expand Down
2 changes: 1 addition & 1 deletion aws-ssm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
apiVersion: v1
description: Dynamic secret management for Kubernetes
name: aws-ssm
version: 0.1.5
version: 0.1.6
2 changes: 1 addition & 1 deletion aws-ssm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ replicas: 1
# Docker image for aws-ssm
image:
name: cmattoon/aws-ssm
tag: v0.1.5
tag: v0.1.6
# Pod Resources
resources: {}

Expand Down
2 changes: 2 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import (
"os"
)

var Version = "undefined"

func getenv(key string, default_value string) string {
value := os.Getenv(key)
if len(value) == 0 {
Expand Down
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit c557000

Please sign in to comment.