From 4d5e5d82660d0a1060542c9b7b46720127c3f661 Mon Sep 17 00:00:00 2001 From: hashicorp-ci Date: Mon, 24 Aug 2020 12:34:39 +0000 Subject: [PATCH] Release v0.5.0 --- CHANGELOG.md | 2 +- Makefile | 2 +- agent-inject/agent/agent.go | 2 +- deploy/injector-deployment.yaml | 4 ++-- subcommand/injector/flags_test.go | 2 +- version/version.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d0a88d1..66e895d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Unreleased +## 0.5.0 (August 24, 2020) Features: * Added annotations to configure agent caching/listener: [GH-132](https://github.com/hashicorp/vault-k8s/pull/132) diff --git a/Makefile b/Makefile index 7fd8ae90..cc725f81 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ REGISTRY_NAME?=docker.io/hashicorp IMAGE_NAME=vault-k8s -VERSION?=0.4.0 +VERSION?=0.5.0 IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):$(VERSION) PUBLISH_LOCATION?=https://releases.hashicorp.com DOCKER_DIR=./build/docker diff --git a/agent-inject/agent/agent.go b/agent-inject/agent/agent.go index 475ea5f7..b3b2758b 100644 --- a/agent-inject/agent/agent.go +++ b/agent-inject/agent/agent.go @@ -14,7 +14,7 @@ import ( // TODO swap out 'github.com/mattbaird/jsonpatch' for 'github.com/evanphx/json-patch' const ( - DefaultVaultImage = "vault:1.4.2" + DefaultVaultImage = "vault:1.5.2" DefaultVaultAuthPath = "auth/kubernetes" DefaultAgentRunAsUser = 100 DefaultAgentRunAsGroup = 1000 diff --git a/deploy/injector-deployment.yaml b/deploy/injector-deployment.yaml index 091e258c..88a02803 100644 --- a/deploy/injector-deployment.yaml +++ b/deploy/injector-deployment.yaml @@ -21,7 +21,7 @@ spec: serviceAccountName: "vault-injector" containers: - name: sidecar-injector - image: "hashicorp/vault-k8s:0.4.0" + image: "hashicorp/vault-k8s:0.5.0" imagePullPolicy: IfNotPresent env: - name: NAMESPACE @@ -37,7 +37,7 @@ spec: - name: AGENT_INJECT_VAULT_ADDR value: "https://vault.$(NAMESPACE).svc:8200" - name: AGENT_INJECT_VAULT_IMAGE - value: "vault:1.4.2" + value: "vault:1.5.2" - name: AGENT_INJECT_TLS_AUTO value: vault-agent-injector-cfg - name: AGENT_INJECT_TLS_AUTO_HOSTS diff --git a/subcommand/injector/flags_test.go b/subcommand/injector/flags_test.go index 43619e0c..20616f67 100644 --- a/subcommand/injector/flags_test.go +++ b/subcommand/injector/flags_test.go @@ -114,7 +114,7 @@ func TestCommandEnvs(t *testing.T) { {env: "AGENT_INJECT_LISTEN", value: ":8080", cmdPtr: &cmd.flagListen}, {env: "AGENT_INJECT_VAULT_ADDR", value: "http://vault:8200", cmdPtr: &cmd.flagVaultService}, {env: "AGENT_INJECT_VAULT_AUTH_PATH", value: "auth-path-test", cmdPtr: &cmd.flagVaultAuthPath}, - {env: "AGENT_INJECT_VAULT_IMAGE", value: "vault:1.4.2", cmdPtr: &cmd.flagVaultImage}, + {env: "AGENT_INJECT_VAULT_IMAGE", value: "vault:1.5.2", cmdPtr: &cmd.flagVaultImage}, {env: "AGENT_INJECT_TLS_KEY_FILE", value: "server.key", cmdPtr: &cmd.flagKeyFile}, {env: "AGENT_INJECT_TLS_CERT_FILE", value: "server.crt", cmdPtr: &cmd.flagCertFile}, {env: "AGENT_INJECT_TLS_AUTO_HOSTS", value: "foobar.com", cmdPtr: &cmd.flagAutoHosts}, diff --git a/version/version.go b/version/version.go index 2fb4ec4a..a8f4642d 100644 --- a/version/version.go +++ b/version/version.go @@ -14,7 +14,7 @@ var ( // // Version must conform to the format expected by // github.com/hashicorp/go-version for tests to work. - Version = "0.4.0" + Version = "0.5.0" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release