Skip to content

Commit

Permalink
Fix to make caBundleSecretName optional
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Jan 25, 2024
1 parent 2d477ce commit d0db00a
Show file tree
Hide file tree
Showing 18 changed files with 488 additions and 453 deletions.
2 changes: 1 addition & 1 deletion chart/openfaas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
type: application
description: OpenFaaS - Serverless Functions Made Simple
name: openfaas
version: 14.2.12
version: 14.2.13
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
5 changes: 5 additions & 0 deletions chart/openfaas/templates/dashboard-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ spec:
value: "{{join "," .Values.iam.dashboardIssuer.scopes }}"
{{- end }}

{{ if .Values.caBundleSecretName }}
- name: ca_bundle_path
value: /var/secrets/ca-bundle/ca.crt
{{- end }}

volumeMounts:
{{- if .Values.basic_auth }}
- name: auth
Expand Down
4 changes: 4 additions & 0 deletions chart/openfaas/templates/oidc-plugin-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ spec:
value: "{{- .Values.oidcAuthPlugin.insecureTLS}}"
- name: issuer_key_path
value: "/var/secrets/issuer-key/issuer.key"
{{ if .Values.caBundleSecretName }}
- name: ca_bundle_path
value: /var/secrets/ca-bundle/ca.crt
{{- end }}
{{- if .Values.basic_auth }}
- name: secret_mount_path
value: "/var/secrets/gateway"
Expand Down
4 changes: 2 additions & 2 deletions chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ autoscaler:
## To use with port-forwarding, set publicURL to
## http://127.0.0.1
dashboard:
image: ghcr.io/openfaasltd/openfaas-dashboard:0.5.2
image: ghcr.io/openfaasltd/openfaas-dashboard:0.5.3
publicURL: https://dashboard.example.com
# Name of signing key secret for sessions.
# Leave blank for development, see https://docs.openfaas.com/openfaas-pro/dashboard/ for production and staging.
Expand All @@ -280,7 +280,7 @@ dashboard:
# OpenFaaS Enterprise (OpenFaaS IAM)
# OIDC plugin for authentication on the OpenFaaS REST API
oidcAuthPlugin:
image: ghcr.io/openfaasltd/openfaas-oidc-plugin:0.6.7
image: ghcr.io/openfaasltd/openfaas-oidc-plugin:0.6.8
insecureTLS: false
verbose: true # debug setting
replicas: 1
Expand Down
Binary file modified docs/cron-connector-0.6.8.tgz
Binary file not shown.
Binary file modified docs/federated-gateway-0.1.0.tgz
Binary file not shown.
Loading

0 comments on commit d0db00a

Please sign in to comment.