From 3f2f8d9405c870f45efa058d5ffbbce295f0a5d9 Mon Sep 17 00:00:00 2001 From: Michael Zalimeni Date: Mon, 20 Nov 2023 15:18:12 -0500 Subject: [PATCH] docs: Update consul-k8s Helm chart docs (1.3.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 12e6077f36..319ed9746d 100644 --- a/website/content/docs/k8s/helm.mdx +++ b/website/content/docs/k8s/helm.mdx @@ -759,6 +759,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](/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