diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dd23afd..c720cf38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,12 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s ## [Unreleased] +### Added + +- Allow skipping Giant Swarm specific NetworkPolicy resources with `giantswarmNetworkPolicy.enabled` value. + ## [3.5.3] - 2023-11-16 -### Adds +### Added - adds extra `helm chart` for the `ciliumNetworkPolicies` ### Changed diff --git a/helm/cert-manager/Chart.yaml b/helm/cert-manager/Chart.yaml index 58a10ca6..41af028b 100644 --- a/helm/cert-manager/Chart.yaml +++ b/helm/cert-manager/Chart.yaml @@ -18,6 +18,7 @@ dependencies: alias: giantSwarmClusterIssuer - name: cert-manager-giantswarm-netpol version: 0.1.0 + condition: giantswarmNetworkPolicy.enabled - name: cert-manager-giantswarm-ciliumnetworkpolicies version: 0.1.0 condition: ciliumNetworkPolicy.enabled diff --git a/helm/cert-manager/values.schema.json b/helm/cert-manager/values.schema.json index e1cc7ea1..0f113ad5 100644 --- a/helm/cert-manager/values.schema.json +++ b/helm/cert-manager/values.schema.json @@ -204,6 +204,15 @@ } } }, + "giantswarmNetworkPolicy": { + "type": "object", + "properties": { + "enabled": { + "default": true, + "type": "boolean" + } + } + }, "ciliumNetworkPolicy": { "type": "object", "properties": { diff --git a/helm/cert-manager/values.yaml b/helm/cert-manager/values.yaml index 66ecce1f..453c7fa8 100644 --- a/helm/cert-manager/values.yaml +++ b/helm/cert-manager/values.yaml @@ -786,6 +786,9 @@ startupapicheck: # links. enableServiceLinks: false +giantswarmNetworkPolicy: + enabled: true + ciliumNetworkPolicy: enabled: false