Suborbital
Search…
Configure capabilities
Compute functions can access a number of capabilities:
  • Logger
  • HTTP requests
  • GraphQL requests
  • Key/value store (cache)
  • SQL databases
  • Static files
You can configure each capability. If you disable all capabilities, your users' functions will not be able to access the "outside world" in any way.
To configure capabilities, edit the scc-config.yaml file that subo created for you in your suborbital/config directory:
1
networkRules: &networkRules
2
allowIPs: false
3
allowPrivate: false
4
allowHTTP: true
5
blockedDomains:
6
- "*.cluster.local"
7
- "scc-controlplane-service"
8
- "scc-builder-service"
9
10
capabilities:
11
logger:
12
enabled: true
13
http:
14
enabled: true
15
rules: *networkRules
16
graphql:
17
enabled: true
18
rules: *networkRules
19
cache:
20
enabled: false
21
file:
22
enabled: false
23
db:
24
enabled: false
Copied!
When you run subo compute deploy core, your installation will use the configuration file. If you do not create a config file, then the above default is used. The defaults are designed to be a sane configuration for the average use-case.
More capability types are being developed and will be available in upcoming versions.
Last modified 2mo ago
Export as PDF
Copy link