Skip to content

Commit

Permalink
http-add-on: allow fetching certs from secrets (#40)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
  • Loading branch information
wozniakjan authored and Kedify Bot committed Dec 25, 2024
1 parent 7d1d39a commit 0a23c82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions http-add-on/templates/interceptor/rbac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ rules:
- ""
resources:
- endpoints
{{- if .Values.interceptor.tls.allowCertsFromSecrets}}
- secrets
{{- end}}
verbs:
- get
- list
Expand Down
2 changes: 2 additions & 0 deletions http-add-on/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ interceptor:
cert_secret: keda-tls-certs
# -- Port that the interceptor proxy TLS server should be started on
port: 8443
# -- Allowing RBAC for Secrets for dynamic TLS certificates
allowCertsFromSecrets: true

# configuration of pdb for the interceptor
pdb:
Expand Down

0 comments on commit 0a23c82

Please sign in to comment.