Resolve "Add custom network policies"
General MR
Summary
Adding custom network policies at the values-level
Relevant logs/screenshots
Adding Network Policies test:
kyvernoReporter:
# -- Toggle deployment of Kyverno Reporter
enabled: true
git:
tag: null
repo: https://repo1.dso.mil/big-bang/product/packages/kyverno-reporter.git
path: ./chart
#tag: "2.22.4-bb.1"
branch: "52-add-custom-network-policies"
values:
networkPolicies:
additionalPolicies:
- name: this-is-a-dc-job-test-egress
spec:
podSelector: {}
policyTypes:
- Egress
egress:
- to:
- ipBlock:
cidr: 172.20.0.0/12
- name: this-is-a-dc-job-test-ingress
spec:
podSelector: {}
policyTypes:
- Ingress
egress:
- to:
- ipBlock:
cidr: 172.20.0.0/12
Linked Issue
Upgrade Notices
networkPolicies:
additionalPolicies: []
Edited by Daniel Chen