UNCLASSIFIED - NO CUI

Skip to content

Resolve "Add custom network policies"

Jacob Kershaw requested to merge 101-add-custom-network-policies into main

General MR

Summary

Adding custom network policies at the values-level

Relevant logs/screenshots

Override Example Test

loki:
  values:
    networkPolicies:
      enabled: true
      additionalPolicies:
      - name: this-is-a-loki-job-test-test
        spec:
          podSelector: {}
          policyTypes:
          - Egress
          egress:
          - to:
            - ipBlock:
                cidr: 172.20.0.0/12

Loki-Test-CNP

Linked Issue

issue

Upgrade Notices

Adding custom network policies at the values-level using:

networkPolicies:
   additionalPolicies: []
Edited by Jacob Kershaw

Merge request reports