Resolve "Add custom network policies"
General MR
Summary
Adding custom network policies at the values-level
Relevant logs/screenshots
Overwrite Network Policies test:
kyverno:
# -- Toggle deployment of Kyverno.
enabled: true
git:
tag: null
repo: https://repo1.dso.mil/big-bang/product/packages/kyverno.git
path: "./chart"
branch: "83-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