Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
features: Add multinetworkpolicy feature
Browse files Browse the repository at this point in the history
Add `multinetworkpolicy` to the list of default feature in Makefile.

Add kustomization files to deploy the feature in `deploy` and `ci` envs.

Signed-off-by: Andrea Panattoni <[email protected]>
zeeke committed May 18, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 02e04d5 commit 73c8559
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#TODO add default features here
export FEATURES?=sctp performance xt_u32 vrf container-mount-namespace metallb gatekeeper
export FEATURES?=sctp performance xt_u32 vrf container-mount-namespace metallb gatekeeper multinetworkpolicy
export SKIP_TESTS?=
IMAGE_BUILD_CMD ?= "docker"

5 changes: 5 additions & 0 deletions feature-configs/ci/multinetworkpolicy/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

bases:
- ../../deploy/multinetworkpolicy
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: operator.openshift.io/v1
kind: Network
metadata:
name: cluster
spec:
useMultiNetworkPolicy: true
4 changes: 4 additions & 0 deletions feature-configs/deploy/multinetworkpolicy/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- enable_multinetworkpolicy.yaml

0 comments on commit 73c8559

Please sign in to comment.