Created
April 1, 2020 12:22
-
-
Save Waterdrips/ea1eecb2e41ee19ed6aebc87daa7e63f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Use a secret instead of a publicly accessible URL for the ACL | |
### of valid users. | |
customers_secret: true | |
### Enable only if using AWS ECR | |
enable_ecr: true | |
## Ingress into OpenFaaS Cloud | |
### Keep active if using a cluster with a LoadBalancer available. | |
ingress: loadbalancer | |
## Source Control Management | |
### Pick either github or gitlab | |
scm: github | |
## Slack | |
### You can set your own url to get an audit trail in your Slack workspace | |
### You can edit this after deployment if needed in the audit function | |
slack: | |
url: http://gateway.openfaas:8080/function/echo | |
## Enable auth: | |
### When enabled users must log in with a valid GitHub account and be present in the | |
### customers file to view any dashboard | |
enable_oauth: true | |
## Set to true to enable scaling to zero | |
### When enabled, all functions are included by default, to turn off add a label | |
### of com.openfaas.scale.zero: "false" | |
scale_to_zero: false | |
## Version of OpenFaaS Cloud from https://github.com/openfaas/openfaas-cloud/releases/ | |
openfaas_cloud_version: 0.13.7 | |
## Enable network policies | |
### Prevents functions from talking to the openfaas namespace, and to each other. | |
### Use the ingress address for the gateway or the external IP instead. | |
network_policies: false | |
## S3 configuration | |
### Build logs from buildkit are stored in S3 | |
### Defaults to in-cluster deployment of Minio. AWS S3 is also possible | |
s3: | |
s3_url: cloud-minio.openfaas.svc.cluster.local:9000 | |
s3_region: us-east-1 | |
s3_tls: false | |
s3_bucket: pipeline | |
## Define the custom templates available for your users | |
deployment: | |
custom_templates: | |
- https://github.com/openfaas-incubator/node8-express-template.git | |
- https://github.com/openfaas-incubator/golang-http-template.git | |
- https://github.com/openfaas-incubator/node10-express-template.git | |
- https://github.com/openfaas-incubator/python-flask-template.git | |
- https://github.com/openfaas-incubator/ruby-http | |
## Dockerfile language support | |
### Use with caution, it allows any workload to be built and run | |
enable_dockerfile_lang: true | |
tls: true | |
tls_config: | |
issuer_type: "prod" | |
email: "example@example.com" | |
dns_service: route53 | |
region: <AWS_REGION> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment