Skip to content

Commit

Permalink
Create annotation to allows users to use proxy health check (#1824) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnotashwin authored Jan 13, 2023
1 parent 7d691d5 commit 92bbe6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
IMPROVEMENTS:
* Helm:
* Add a `global.extraLabels` stanza to allow setting global Kubernetes labels for all components deployed by the `consul-k8s` Helm chart. [[GH-1778](https://github.com/hashicorp/consul-k8s/pull/1778)]
* Control-Plane
* Add support for the annotation `consul.hashicorp.com/use-proxy-health-check`. [[GH-1824](https://github.com/hashicorp/consul-k8s/pull/1824)]

BUG FIXES:
* Control Plane
Expand Down
5 changes: 5 additions & 0 deletions control-plane/connect-inject/annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ const (
// Deprecated: This annotation is no longer supported.
annotationSyncPeriod = "consul.hashicorp.com/connect-sync-period"

// annotationUseProxyHealthCheck creates a readiness listener on the sidecar proxy and
// queries this instead of the application health check for the status of the application.
// Enable this only if the application does not support health checks.
annotationUseProxyHealthCheck = "consul.hashicorp.com/use-proxy-health-check"

// annotations for sidecar proxy resource limits.
annotationSidecarProxyCPULimit = "consul.hashicorp.com/sidecar-proxy-cpu-limit"
annotationSidecarProxyCPURequest = "consul.hashicorp.com/sidecar-proxy-cpu-request"
Expand Down

0 comments on commit 92bbe6b

Please sign in to comment.