add enabled to private resources in blueprints

This commit is contained in:
miloschwartz
2026-07-17 17:41:35 -04:00
parent 6ded711006
commit c91dfaeae6

View File

@@ -1157,6 +1157,7 @@ private-resources:
sites:
- my-site
destination: 10.0.0.0/24
enabled: true
tcp-ports: "22,443"
udp-ports: "53"
disable-icmp: false
@@ -1178,6 +1179,7 @@ private-resources:
full-domain: app.internal.example.com
ssl: true
scheme: https
enabled: true
```
<Expandable title="Private resource reference">
@@ -1288,6 +1290,13 @@ private-resources:
Container label: `pangolin.private-resources.internal-app.scheme=https`
</ResponseField>
<ResponseField name="enabled" type="boolean">
Disables the resource without removing it.
YAML: `enabled: true`
Container label: `pangolin.private-resources.internal-net.enabled=true`
</ResponseField>
<ResponseField name="tcp-ports" type="string">
Allowed TCP ports or ranges. Use comma-separated values for multiple ports or ranges, such as `22,443,8000-9000` or `*` for all ports or leave empty for no ports.