From 27bc608b4efe799bd599d676f7b24a0a919a3ce8 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sat, 15 Feb 2025 19:51:53 +0100 Subject: [PATCH] docs(README): add section network policies --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7dcb649..d91d4e0 100644 --- a/README.md +++ b/README.md @@ -286,11 +286,17 @@ networkPolicies: | --------------------- | ---------------------- | ----- | | `podDisruptionBudget` | Pod disruption budget. | `{}` | -### Network +### NetworkPolicies -| Name | Description | Value | -| ----------------- | ------------------------------------------------------------------------------------------------------------------ | ----- | -| `networkPolicies` | Deploy network policies based on the used container network interface (CNI) implementation - like calico or weave. | `{}` | +| Name | Description | Value | +| ------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------- | +| `networkPolicies.enabled` | Enable network policies in general. | `false` | +| `networkPolicies.default.enabled` | Enable the network policy for accessing the application by default. For example to scape the metrics. | `false` | +| `networkPolicies.default.annotations` | Additional network policy annotations. | `{}` | +| `networkPolicies.default.labels` | Additional network policy labels. | `{}` | +| `networkPolicies.default.policyTypes` | List of policy types. Supported is ingress, egress or ingress and egress. | `[]` | +| `networkPolicies.default.egress` | Concrete egress network policy implementation. | `[]` | +| `networkPolicies.default.ingress` | Concrete ingress network policy implementation. | `[]` | ### Prometheus