UNCLASSIFIED - NO CUI

Skip to content

Add custom network policy

Sam Vongsay requested to merge 46-add-custom-network-policies into main

General MR

Summary

Included the ability to add custom network policy at a values level.

Relevant logs/screenshots

(Include any relevant logs/screenshots) Example test override

promtail:
  values:
    networkPolicies:
      enabled: true
        additionalPolicies:
        - name: custom-promtail-netpol-test
          spec:
            podSelector: {}
            policyTypes:
            - Egress
            egress:
            - to:
              - ipBlock:
                  cidr: 172.20.0.0/12

Output Promtail_output

Linked Issue

Closes issue

Upgrade Notices

Add custom network policy via:

networkPolicies:
  additionalPolicies: []

Closes #46 (closed)

Edited by Jimmy Ungerman

Merge request reports