UNCLASSIFIED - NO CUI

Skip to content

Resolve "Add custom network policies"

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

General MR

Summary

Enable consumers to be able to add in their own flavors of network policies at the values-level

Relevant logs/screenshots

Adding Custom Network Policy test:

addons:
  metricsServer:
    enabled: true
    sourceType: "git"
    git:
      tag: null
      branch: "48-add-custom-network-polici

    values:
      networkPolicies:
        additionalPolicies:
        - name: this-is-a-custom-network-po
          spec:
            podSelector: {}
            policyTypes:
            - Egress
            - Ingress
            egress:
            - to:
              - ipBlock:
                  cidr: 172.20.0.0/12
            ingress:
            - from:
              - podSelector:
                  matchLabels:
                    role: client

image

Clean install and Upgrade test completed.

Linked Issue

Closes issue

Upgrade Notices

networkPolicies:
 additionalPolicies: []
Edited by Jimmy Ungerman

Merge request reports