Skip to content

Commit

Permalink
Add condition for cert-manager-giantswarm-netpol subchart
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiczko committed Nov 22, 2023
1 parent 23f5675 commit d8e12e6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions helm/cert-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions helm/cert-manager/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,15 @@
}
}
},
"giantswarmNetworkPolicy": {
"type": "object",
"properties": {
"enabled": {
"default": true,
"type": "boolean"
}
}
},
"ciliumNetworkPolicy": {
"type": "object",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions helm/cert-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,9 @@ startupapicheck:
# links.
enableServiceLinks: false

giantswarmNetworkPolicy:
enabled: true

ciliumNetworkPolicy:
enabled: false

Expand Down

0 comments on commit d8e12e6

Please sign in to comment.