Skip to content

Commit

Permalink
Update empty example of Ingress for folks who skip the docs
Browse files Browse the repository at this point in the history
The docs are the source of truth for configuring ingress, not
the empty section of values.yaml, however I am making the
example more inline with the current stable version of K8s
ingress and adding a link in values.yaml to the docs to help
avoid confusion.

Closes: #1220

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Aug 19, 2024
1 parent a8073f7 commit c6427d2
Show file tree
Hide file tree
Showing 14 changed files with 565 additions and 533 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.65
version: 14.2.66
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
24 changes: 16 additions & 8 deletions chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -388,17 +388,25 @@ nats:

# ingress configuration
ingress:
enabled: false
## For k8s >= 1.18 you need to specify the pathType
## See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#better-path-matching-with-path-types
#pathType: ImplementationSpecific
enabled: true

## See notes on how to configure ingress for the gateway
## and dashboard, including TLS with cert-manager.
## https://docs.openfaas.com/reference/tls-openfaas

# Used to create Ingress record (should be used with exposeServices: false).
hosts:
- host: gateway.openfaas.local # Replace with gateway.example.com if public-facing
serviceName: gateway
servicePort: 8080
path: /
- host: gateway.openfaas.local # Replace with gateway.example.com if public-facing
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gateway
port:
number: 8080

# annotations:
# This annotation is deprecated, use IngressClass in the spec instead
# kubernetes.io/ingress.class: nginx
Expand Down
Binary file modified docs/cron-connector-0.6.11.tgz
Binary file not shown.
Binary file modified docs/federated-gateway-0.1.0.tgz
Binary file not shown.
1,072 changes: 548 additions & 524 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file modified docs/kafka-connector-0.7.11.tgz
Binary file not shown.
Binary file modified docs/mqtt-connector-0.4.7.tgz
Binary file not shown.
Binary file modified docs/nats-connector-0.3.2.tgz
Binary file not shown.
Binary file added docs/openfaas-14.2.66.tgz
Binary file not shown.
Binary file modified docs/postgres-connector-0.1.1.tgz
Binary file not shown.
Binary file modified docs/pro-builder-0.4.15.tgz
Binary file not shown.
Binary file modified docs/queue-worker-0.2.9.tgz
Binary file not shown.
Binary file modified docs/sns-connector-0.1.3.tgz
Binary file not shown.
Binary file modified docs/sqs-connector-0.2.6.tgz
Binary file not shown.

0 comments on commit c6427d2

Please sign in to comment.