UNCLASSIFIED - NO CUI

Skip to content

Resolve "Add custom network policies"

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

General MR

Summary

Adding custom network policies at the values-level

Relevant logs/screenshots

Override Test

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

gitlab-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