Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit b787c65

Browse files
committed
Fix NetworkPolicy type
1 parent dc5275e commit b787c65

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
export VERSION ?= 0.2.0-alpha
6+
export VERSION ?= 0.2.1-alpha
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

helm/chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.2.0
16+
version: 0.2.1
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.
2020
# It is recommended to use it with quotes.
21-
appVersion: "0.2.0-alpha"
21+
appVersion: "0.2.1-alpha"

helm/chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ controllerManager:
3232
- ALL
3333
image:
3434
repository: ghcr.io/delta10/dns-resolution-operator/controller
35-
tag: v0.2.0-alpha
35+
tag: v0.2.1-alpha
3636
resources:
3737
limits:
3838
cpu: 500m

internal/controller/networkpolicy.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ func NPGenerate(ip_map *dnsv1alpha1.IPMap) (np *networking.NetworkPolicy) {
3434
Egress: []networking.NetworkPolicyEgressRule{
3535
{To: tolist},
3636
},
37+
PolicyTypes: []networking.PolicyType{
38+
networking.PolicyTypeEgress,
39+
},
3740
},
3841
}
3942

0 commit comments

Comments
 (0)