Skip to content

Commit 29b2b12

Browse files
committed
Add endpoint links to OpenFaaS Dashboard
To enable, see the new setting under the dashboard settings for the public URL of the gateway. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 7872d68 commit 29b2b12

18 files changed

+398
-354
lines changed

chart/openfaas/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
type: application
33
description: OpenFaaS - Serverless Functions Made Simple
44
name: openfaas
5-
version: 14.2.126
5+
version: 14.2.127
66
sources:
77
- https://github.com/openfaas/faas
88
- https://github.com/openfaas/faas-netes

chart/openfaas/templates/dashboard-dep.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ spec:
9999
value: "{{ .Values.dashboard.logs.debug }}"
100100
- name: "log_encoding"
101101
value: "{{ .Values.dashboard.logs.format }}"
102+
{{- if .Values.dashboard.publicURLGateway }}
103+
- name: public_url_gateway
104+
value: {{ .Values.dashboard.publicURLGateway }}
105+
{{- end }}
102106
{{- if .Values.iam.enabled }}
103107
- name: issuer_key_path
104108
value: "/var/secrets/issuer-key/issuer.key"

chart/openfaas/values-pro.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ generateBasicAuth: true
3434
# Follow docs at: https://docs.openfaas.com/openfaas-pro/dashboard/
3535
# for setting up the new dashboard
3636
dashboard:
37-
publicURL: localhost
3837
enabled: true
3938

39+
# Set to the public URL i.e. https://dashboard.example.com
40+
publicURL: localhost
41+
42+
# The public URL for the gateway - set to enable links for functions within the UI.
43+
# i.e. https://gateway.example.com
44+
publicURLGateway: ""
45+
4046
# The autoscaler is enabled by default
4147
# Learn more:
4248
# https://docs.openfaas.com/architecture/autoscaling/

chart/openfaas/values.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ eventWorker:
152152

153153
# For OpenFaaS Pro and the Function CRD
154154
operator:
155-
image: ghcr.io/openfaasltd/faas-netes:0.5.78
155+
image: ghcr.io/openfaasltd/faas-netes:0.5.80
156156
create: false
157157
logs:
158158
debug: false
@@ -199,7 +199,7 @@ operator:
199199
successThreshold: 1
200200

201201
faasnetesPro:
202-
image: ghcr.io/openfaasltd/faas-netes:0.5.78
202+
image: ghcr.io/openfaasltd/faas-netes:0.5.80
203203
logs:
204204
debug: false
205205
format: "console"
@@ -324,13 +324,23 @@ autoscaler:
324324
## To use with port-forwarding, set publicURL to
325325
## http://127.0.0.1
326326
dashboard:
327-
image: ghcr.io/openfaasltd/openfaas-dashboard:0.5.41
328-
publicURL: https://dashboard.example.com
327+
image: ghcr.io/openfaasltd/openfaas-dashboard:0.6.2
328+
329+
# publicURL for the dashboard itself
330+
# i.e. https://dashboard.example.com
331+
publicURL: ""
332+
333+
# The public URL for the gateway - set to enable links for functions within the UI.
334+
# i.e. https://gateway.example.com
335+
publicURLGateway: ""
336+
329337
# Name of signing key secret for sessions.
330338
# Leave blank for development, see https://docs.openfaas.com/openfaas-pro/dashboard/ for production and staging.
331339
signingKeySecret: ""
332340
replicas: 1
341+
333342
enabled: false
343+
334344
logs:
335345
debug: false
336346
format: "console"
@@ -384,7 +394,7 @@ iam:
384394
## if you wish to retain the metrics for a longer period, you should
385395
## scrape this instance from an external Prometheus server
386396
prometheus:
387-
image: prom/prometheus:v3.5.0
397+
image: prom/prometheus:v3.6.0
388398
create: true
389399
retention:
390400
time: 15d
@@ -432,7 +442,7 @@ nats:
432442
host: ""
433443
port: ""
434444
# The version of NATS Core used with OpenFaaS Pro and JetStream
435-
image: nats:2.11.9
445+
image: nats:2.12.0
436446
resources:
437447
requests:
438448
memory: "120Mi"

docs/cron-connector-0.6.14.tgz

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

docs/headroom-controller-0.1.2.tgz

2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)