UNCLASSIFIED - NO CUI

Skip to content

Resolve "Add custom network policies"

Daniel Chen requested to merge 83-add-custom-network-policies into main

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

Screenshot_2024-04-09_at_11.23.36_AM

Linked Issue

issue

Upgrade Notices

networkPolicies:
   additionalPolicies: []
Edited by Daniel Chen

Merge request reports