From e4a01858bb627a81ac810d79f44188a1310933d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Prokopi=C4=87?= Date: Thu, 8 Aug 2024 16:07:34 +0200 Subject: [PATCH] Deprecate global.connectivity.network.allowAllEgress --- CHANGELOG.md | 4 ++++ helm/cluster/README.md | 2 +- helm/cluster/values.schema.json | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c03fe1c..a23de818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Deprecate usage of `.Values.global.connectivity.network.allowAllEgress`. + ## [1.1.0] - 2024-08-07 ### Added diff --git a/helm/cluster/README.md b/helm/cluster/README.md index d678f336..c824ac39 100644 --- a/helm/cluster/README.md +++ b/helm/cluster/README.md @@ -238,7 +238,7 @@ Configuration of connectivity and networking options. | `global.connectivity.bastion.enabled` | **Enable**|**Type:** `boolean`
**Default:** `true`| | `global.connectivity.bastion.replicas` | **Number of hosts**|**Type:** `integer`
**Default:** `1`| | `global.connectivity.network` | **Network**|**Type:** `object`
| -| `global.connectivity.network.allowAllEgress` | **Allow all egress**|**Type:** `boolean`
**Default:** `false`| +| `global.connectivity.network.allowAllEgress` | **Allow all egress (DEPRECATED)** - This flag has been deprecated. Currently the default value is false, which means that network-policies app will get installed. Setting this flag to true means that network-policies app is not installed, and that should not be done anymore.|**Type:** `boolean`
**Default:** `false`| | `global.connectivity.network.pods` | **Pods**|**Type:** `object`
| | `global.connectivity.network.pods.cidrBlocks` | **Pod subnets**|**Type:** `array`
**Default:** `["100.64.0.0/12"]`| | `global.connectivity.network.pods.cidrBlocks[*]` | **Pod subnet** - IPv4 address range for pods, in CIDR notation.|**Type:** `string`
**Example:** `"10.244.0.0/16"`
| diff --git a/helm/cluster/values.schema.json b/helm/cluster/values.schema.json index 54ed1914..a8c9ecc3 100644 --- a/helm/cluster/values.schema.json +++ b/helm/cluster/values.schema.json @@ -1372,7 +1372,8 @@ "properties": { "allowAllEgress": { "type": "boolean", - "title": "Allow all egress", + "title": "Allow all egress (DEPRECATED)", + "description": "This flag has been deprecated. Currently the default value is false, which means that network-policies app will get installed. Setting this flag to true means that network-policies app is not installed, and that should not be done anymore.", "default": false }, "pods": {