Improvements:
- Add
NAMESPACE
,HOST_IP
, andPOD_IP
environment variables to Agent container using downward API GH-486
Changes:
- Templated secrets no longer require the -secret annotation GH-505
- Only inject Pods that are Pending GH-501
- Default to Vault 1.14.1
- Building with Go 1.20.7
- Testing with K8s versions 1.23-1.27
- Dependency updates:
github.com/cenkalti/backoff/v4
v4.2.0 -> v4.2.1github.com/hashicorp/vault/sdk
v0.8.1 -> v0.9.2github.com/stretchr/testify
v1.8.2 -> v1.8.4github.com/prometheus/client_golang
v1.14.0 -> v1.16.0k8s.io/apimachinery
v0.26.3 -> v0.27.4k8s.io/api
v0.26.3 -> v0.27.4k8s.io/client-go
v0.26.3 -> v0.27.4golang.org/x/net
v0.7.0 -> v0.13.0golang.org/x/sys
v0.5.0 -> v0.10.0golang.org/x/term
v0.5.0 -> v0.10.0golang.org/x/text
v0.7.0 -> v0.11.0- Docker alpine version 3.17.3 -> 3.18.3
- Docker UBI image
ubi8/ubi-minimal
8.7-1107 -> 8.8-1037
Bugs:
- Prevent
auth-config-token-path
from being overridden when another serviceaccount volume is present GH-457
Changes:
- Default to Vault 1.13.1
- Building with Go 1.20.3
- Dependency updates:
github.com/cenkalti/backoff/v4
v4.1.3 -> v4.2.0github.com/hashicorp/go-hclog
v1.3.1 -> v1.5.0github.com/hashicorp/vault/sdk
v0.6.1 -> v0.8.1golang.org/x/net
v0.4.0 -> v0.7.0golang.org/x/sys
v0.3.0 -> v0.5.0golang.org/x/term
v0.3.0 -> v0.5.0golang.org/x/text
v0.5.0 -> v0.7.0k8s.io/api
v0.25.4 -> v0.26.3k8s.io/apimachinery
v0.25.4 -> v0.26.3k8s.io/client-go
v0.25.4 -> v0.26.3k8s.io/utils
v0.0.0-20220728103510-ee6ede2d64ed -> v0.0.0-20230406110748-d93618cff8a2- Docker UBI image
ubi8/ubi-minimal
8.7 -> 8.7-1107 - Used fixed Docker alpine version: 3.17.3
Bugs:
- Don't override
shareProcessNamespace
if an annotation is not present GH-445
Changes:
- Building with Go 1.19.5
- Update golang.org/x/net to v0.4.0 GH-409
- Default to Vault v1.12.3
Features:
- Add support for enabling
sharedProcessNamespace
on the Podspec
GH-408 - Add
agent-telemetry
annotation GH-413
Improvements:
- Set Kubernetes user-agent to include vault-k8s version GH-411
Bugs:
- Preserve metadata when updating the cert secret GH-401
Changes:
- Building with go 1.19.3
- Default to Vault v1.12.1
Features:
- Allow modifying agent and agent-init containers with json-patch GH-399
- Support for setting
exit_on_err
in the agent auto-auth method config GH-400.
Improvements:
- Dependency updates:
- github.com/cenkalti/backoff/v4 v4.1.1 => v4.1.3
- github.com/hashicorp/go-hclog v1.0.0 => v1.3.1
- github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1 => v0.1.2
- github.com/hashicorp/vault/sdk v0.2.1 => v0.6.1
- github.com/mitchellh/cli v1.1.4 => v1.1.5
- github.com/operator-framework/operator-lib v0.8.0 => v0.11.0
- github.com/prometheus/client_golang v1.11.1 => v1.12.1
- github.com/stretchr/testify v1.8.0 => v1.8.1
- k8s.io/api v0.22.2 => v0.25.4
- k8s.io/apimachinery v0.22.2 => v0.25.4
- k8s.io/client-go v0.22.2 => v0.25.4
Changes:
- Default to Vault v1.12.0
Bugs:
- Default ephemeral storage resources to unset for injected containers GH-386
Improvements:
- Upgrade dependency
golang.org/x/net
fromv0.0.0-20220708220712-1185a9018129
tov0.0.0-20221004154528-8021a29435af
- Upgrade dependency
golang.org/x/sys
fromv0.0.0-20220520151302-bc2c85ada10a
tov0.0.0-20220728004956-3c1f35247d10
- Upgrade dependency
golang.org/x/text
from v0.3.7 to v0.3.8
Changes:
- Upgrade Docker base image to alpine:3.16.2 GH-382
- Default to Vault v1.11.3
Features:
- Support for setting
disable_keep_alives
in the agent config GH-376 - Added flags, envs and annotations to control ephemeral storage resources for injected containers GH-360
Features:
- Support for setting
disable_idle_connections
in the agent config GH-366
Improvements:
- Added support to configure default vault namespace on the agent config GH-345
Bugs:
- Properly return admission errors GH-363
Improvements:
- ConfigMap with missing vault section should default to env vars GH-353
- Wait for certificate before starting HTTP listener GH-354
- Update example injector mutating webhook config to exclude agent pod GH-351
Bugs:
- Certificate watcher timer deadlock fix GH-350
Features:
- Add agent-enable-quit annotation GH-330
- Add go-max-procs annotation GH-333
- Add min and max auth backoff annotations and environment variables GH-341
Improvements:
- Add a name to the service port GH-262
Changes:
- Only update webhook CA bundles when needed GH-336
Features:
- Add agent-inject-containers annotation GH-313
Changes:
- Build with go 1.17.8
- Default to Vault v1.9.4
Changes:
- Build with go 1.17.6
- Default to Vault v1.9.2
Changes:
- Bump the default Vault image to v1.9.0
Improvements:
- Dependency update GH-304
Improvements:
- Added options for setting the TLS minimum version (default 1.2) and supported cipher suites: GH-302
Changes:
- Bump the default Vault image to v1.8.3
Improvements:
- Continuously retry updating the cert secret: GH-280
- Keep the last CA when creating a new one: GH-287
- Moved leader election inside vault-k8s: GH-271
- Add projected service account support GH-288
Bugs:
- Set GVK on AdmissionReview responses in webhook GH-296
- Fix a typo in deploy/injector-mutating-webhook.yaml manifest GH-296
Features:
- New annotation to allow the user to set the rendered file permission: GH-277
- Adds flag and annotation to configure template config
static_secret_render_interval
: GH-276
Features:
- Added exit_on_retry_failure flag and annotation: GH-267
Improvements:
- Switch the default vault image to come from the hashicorp docker hub org: GH-270
- Better support for setting the region when auth type is AWS: GH-268
- Added support for K8s v1 Admission API: GH-273
Improvements:
- Dependency update: GH-265
Bugs:
Features:
- Added flags/envs to change default resources for all injected containers: GH-235
- Added an annotation to use template path on disk: GH-222
- Added an annotation and global flag to change default template from map to json: GH-242
Improvements:
- Better support for IRSA on AWS/EKS: GH-169
Features:
- Added annotation to specify HTTPS proxy on Vault Agent containers: GH-211
- Added support for all auto-auth methods: GH-213
- Added support for persistent agent caching: GH-229
- Arm binaries and images are now being published as part of a release: GH-221
Improvements:
Bugs:
Features:
- Added annotation to copy mounts from a specified container: GH-212
- Added annotation to change log format for the agent: GH-200
Features:
Features:
- Added
extra-secret
annotation for mounting kube-secrets: GH-119
Improvements:
- Resource limits and requests can be disabled via annotation: GH-174
Features:
- Added annotations to configure agent caching/listener: GH-132
- Added annotation for specifying filenames and paths within the secrets volume: GH-158
- Added prometheus telemetry support: GH-145
Improvements:
- Injected agents are now configured with
readOnlyRootFilesystem: true
: GH-142 - Added additional security contexts for better integration with restrictive PSPs: GH-153
- Added unique token volumes for init/sidecar: GH-170
Features:
- Added annotations/envs to change the UID and GID of the Vault Agent process: GH-60
- Added command-line options, annotations, and envs for
run-as-same-user
andset-security-context
: GH-131
Improvements:
Bugs:
Features:
- Added flag/env to change log-format for the injector: GH-50
- Added annotation to run a command after template has been rendered: GH-57
- Added annotation to configure Vault namespace: GH-82
- Added annotation to configure Vault Agent log level: GH-82
- Added annotation that shares the Vault Agent token in the shared volume: GH-77
- Added annotations to configure token revocation during shutdown: GH-67
- Added annotations to customize render path of secrets (per secret and global default): GH-71
- Added annotation to preserve case: GH-71
- Added annotation to configure if the init container runs first or last: GH-91
Improvements:
- Added
GO111MODULE
flag toMakefile
: GH-61 - Changed token location from
/home/vault/.token
to/home/vault/.vault-token
: GH-66
Bugs:
- Fixed bug where secret volumes were not shared with other init containers: GH-91
Features:
- Added configurable auth mount path annotation and environment variable [GH-23]
- Added kustomize [GH-43]
Bugs:
- Fixed bug where tlsSkipVerify was true by default [GH-34]
Bugs:
- Fixed bug causing pods in kube-system to be rejected [GH-14]
Initial release