UNCLASSIFIED - NO CUI

Skip to content

Resolve "Add custom network policies"

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

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

Screenshot_2024-04-09_at_12.08.46_PM

Linked Issue

issue

Upgrade Notices

networkPolicies:
   additionalPolicies: []
Edited by Daniel Chen

Merge request reports