From c123818b6c9e6b4f3b13980339b9df3ffccc642f Mon Sep 17 00:00:00 2001 From: D1StrX <40062371+D1StrX@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:25:25 +0200 Subject: [PATCH] Add proper Redis CA mount examples (#382) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Léo Colombaro --- charts/netbox/Chart.yaml | 2 +- charts/netbox/values.yaml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index eb6c94c7..2ae774ee 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: netbox -version: 5.0.0-beta.123 +version: 5.0.0-beta.124 appVersion: "v4.1.3" type: application kubeVersion: ^1.25.0-0 diff --git a/charts/netbox/values.yaml b/charts/netbox/values.yaml index c4094e16..c53f310f 100644 --- a/charts/netbox/values.yaml +++ b/charts/netbox/values.yaml @@ -630,9 +630,20 @@ serviceAccount: ## hostAliases: [] ## @param extraVolumes Array of extra volumes to be added to the deployment (evaluated as template). Requires setting `extraVolumeMounts` +## e.g: +## extraVolumes: +## - name: redis-ca +## secret: +## secretName: redis-ca ## extraVolumes: [] ## @param extraVolumeMounts Array of extra volume mounts to be added to the container (evaluated as template). Normally used with `extraVolumes`. +## e.g: +## extraVolumeMounts: +## - name: redis-ca +## mountPath: /tmp/redis-ca +## subPath: redis_ca +## readOnly: true ## extraVolumeMounts: [] ## @param sidecars Add additional sidecar containers to the pod @@ -1028,6 +1039,7 @@ tasksRedis: database: 0 ssl: false insecureSkipTlsVerify: false + # When defining caCertPath, make sure you mount the secret containing the CA certificate on all the necessary containers caCertPath: "" # Used only when redis.enabled is false. host and port are not used if @@ -1047,6 +1059,7 @@ cachingRedis: database: 1 ssl: false insecureSkipTlsVerify: false + # When defining caCertPath, make sure you mount the secret containing the CA certificate on all the necessary containers caCertPath: "" # Used only when redis.enabled is false. host and port are not used if @@ -1321,9 +1334,20 @@ housekeeping: ## name: secret-resource extraEnvs: [] ## @param housekeeping.extraVolumes Array of extra volumes to be added to the deployment (evaluated as template). Requires setting `extraVolumeMounts` + ## e.g: + ## extraVolumes: + ## - name: redis-ca + ## secret: + ## secretName: redis-ca ## extraVolumes: [] ## @param housekeeping.extraVolumeMounts Array of extra volume mounts to be added to the container (evaluated as template). Normally used with `extraVolumes`. + ## e.g: + ## extraVolumeMounts: + ## - name: redis-ca + ## mountPath: /tmp/redis-ca + ## subPath: redis_ca + ## readOnly: true ## extraVolumeMounts: [] ## @param housekeeping.sidecars Add additional sidecar containers to the pod @@ -1538,9 +1562,20 @@ worker: ## name: secret-resource extraEnvs: [] ## @param worker.extraVolumes Array of extra volumes to be added to the deployment (evaluated as template). Requires setting `extraVolumeMounts` + ## e.g: + ## extraVolumes: + ## - name: redis-ca + ## secret: + ## secretName: redis-ca ## extraVolumes: [] ## @param worker.extraVolumeMounts Array of extra volume mounts to be added to the container (evaluated as template). Normally used with `extraVolumes`. + ## e.g: + ## extraVolumeMounts: + ## - name: redis-ca + ## mountPath: /tmp/redis-ca + ## subPath: redis_ca + ## readOnly: true ## extraVolumeMounts: [] ## @param worker.sidecars Add additional sidecar containers to the pod