From 256b634a053e5d9223eea73cc2582bd5bc0ba9d1 Mon Sep 17 00:00:00 2001 From: Luke Kysow <1034429+lkysow@users.noreply.github.com> Date: Tue, 22 Mar 2022 12:54:01 -0700 Subject: [PATCH] add changelog and fix lint error --- CHANGELOG.md | 1 + control-plane/connect-inject/annotations.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8643d3dce7..5bcfedefab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ BREAKING CHANGES: IMPROVEMENTS: * Control Plane * Upgrade Docker image Alpine version from 3.14 to 3.15. [[GH-1058](https://github.com/hashicorp/consul-k8s/pull/1058)] + * Support new annotation for mounting connect-inject volume to other containers. [[GH-1111](https://github.com/hashicorp/consul-k8s/pull/1111)] * Helm * API Gateway: Allow controller to read Kubernetes namespaces in order to determine if route is allowed for gateway. [[GH-1092](https://github.com/hashicorp/consul-k8s/pull/1092)] diff --git a/control-plane/connect-inject/annotations.go b/control-plane/connect-inject/annotations.go index 870a44ff50..e7d25453b6 100644 --- a/control-plane/connect-inject/annotations.go +++ b/control-plane/connect-inject/annotations.go @@ -19,7 +19,7 @@ const ( // annotationInjectMountVolumes is the key of the annotation that controls whether // the data volume that connect inject uses to store data including the Consul ACL token // is mounted to other containers in the pod. It is a comma-separated list of container names - // to mount the volume on. It will be mounted at the path `/consul/connect-inject` + // to mount the volume on. It will be mounted at the path `/consul/connect-inject`. annotationInjectMountVolumes = "consul.hashicorp.com/connect-inject-mount-volume" // annotationService is the name of the service to proxy.