From c4b3ca81d591fd44216a7fd627a0a0bc2901d0ea Mon Sep 17 00:00:00 2001 From: Michael Zalimeni Date: Mon, 27 Nov 2023 17:15:25 -0500 Subject: [PATCH] [NET-6232] docs: Update consul-k8s Helm chart docs (1.1.x) (#19699) docs: Update consul-k8s Helm chart docs (1.1.x) Sync docs for recent changes to the Helm chart from `consul-k8s`. --- website/content/docs/k8s/helm.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/website/content/docs/k8s/helm.mdx b/website/content/docs/k8s/helm.mdx index 12096eb248..34296321e1 100644 --- a/website/content/docs/k8s/helm.mdx +++ b/website/content/docs/k8s/helm.mdx @@ -744,6 +744,19 @@ Use these links to navigate to a particular top-level stanza. contains best practices and recommendations for selecting suitable hardware sizes for your Consul servers. + - `persistentVolumeClaimRetentionPolicy` ((#v-server-persistentvolumeclaimretentionpolicy)) (`map`) - The [Persistent Volume Claim (PVC) retention policy](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention) + controls if and how PVCs are deleted during the lifecycle of a StatefulSet. + WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted, + and WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. + + Example: + + ```yaml + persistentVolumeClaimRetentionPolicy: + whenDeleted: Retain + whenScaled: Retain + ``` + - `connect` ((#v-server-connect)) (`boolean: true`) - This will enable/disable [service mesh](https://developer.hashicorp.com/consul/docs/connect). Setting this to true _will not_ automatically secure pod communication, this setting will only enable usage of the feature. Consul will automatically initialize