Skip to content

Commit

Permalink
Allow CA dirs to be specified beyond /custom/ca/ (#650)
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Smith <[email protected]>
  • Loading branch information
joelsmith committed Jun 19, 2024
1 parent 43b0f51 commit 6aa6012
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions keda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ their default values.

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `certificates.operator.caDirs` | list | `["/custom/ca"]` | Location(s) of CA files for authentication of external TLS connections such as TLS-enabled metrics sources |
| `extraArgs.keda` | object | `{}` | Additional KEDA Operator container arguments |
| `image.keda.registry` | string | `nil` | Image registry of KEDA operator |
| `image.keda.repository` | string | `"ghcr.io/kedacore/keda"` | Image name of KEDA operator |
Expand Down
3 changes: 3 additions & 0 deletions keda/templates/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ spec:
{{- if .Values.profiling.operator.enabled }}
- "--profiling-bind-address=:{{ .Values.profiling.operator.port }}"
{{- end }}
{{- range .Values.certificates.operator.caDirs }}
- "--ca-dir={{ . }}"
{{- end }}
{{- range $key, $value := .Values.extraArgs.keda }}
- "--{{ $key }}={{ $value }}"
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,10 @@ certificates:
kind: ClusterIssuer
# -- Custom Issuer group. Required when generate: false
group: cert-manager.io
operator:
# -- Location(s) of CA files for authentication of external TLS connections such as TLS-enabled metrics sources
caDirs:
- /custom/ca

permissions:
metricServer:
Expand Down

0 comments on commit 6aa6012

Please sign in to comment.