svc-optional

This commit is contained in:
2025-11-30 17:18:19 -06:00
parent 7230081401
commit 73be50588a
12 changed files with 61 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ Katenary will try to _Unmarshal_ these labels.
| `katenary.v3/exchange-volumes` | Add exchange volumes (empty directory on the node) to share data | `[]object` |
| `katenary.v3/health-check` | Health check to be added to the deployment. | `object` |
| `katenary.v3/ignore` | Ignore the service | `bool` |
| `katenary.v3/svc-optional` | Make the service optional | `bool` |
| `katenary.v3/ingress` | Ingress rules to be added to the service. | `object` |
| `katenary.v3/main-app` | Mark the service as the main app. | `bool` |
| `katenary.v3/map-env` | Map env vars from the service to the deployment. | `map[string]string` |
@@ -270,6 +271,21 @@ labels:
katenary.v3/ignore: "true"
```
### katenary.v3/svc-optional
Make the service optional
**Type**: `bool`
Making a service to be optional in the exported helm chart.
**Example:**
```yaml
labels:
katenary.v3/svc-optional: "true"
```
### katenary.v3/ingress