Skip to content

Commit

Permalink
Add proper Redis CA mount examples (#382)
Browse files Browse the repository at this point in the history
Co-authored-by: Léo Colombaro <[email protected]>
  • Loading branch information
D1StrX and LeoColomb authored Oct 10, 2024
1 parent d0d996e commit c123818
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/netbox/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
35 changes: 35 additions & 0 deletions charts/netbox/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c123818

Please sign in to comment.