Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
A
auto-deploy-app
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • charts
  • auto-deploy-app
  • Merge Requests
  • !30

Merged
Opened Dec 11, 2019 by Arthur Evstifeev@aevstifeevContributor

Add support for NetworkPolicy

  • Overview 33
  • Commits 1
  • Pipelines 6
  • Changes 6

This MR introduces support for network policies deployment. Network policies only affect clusters that use container networking provider with support for policies (calico, cilium etc.)

  • Network policy deployment is disabled by default
  • Default policy is block all ingress traffic for all pods in the namespace
  • Policy can be changed via networkPolicy.spec value

Performed QA steps:

  • I have deployed cilium and ingress via cluster apps: https://gitlab.com/gitlab-org/defend/network-policy-cluster-management
  • I have deployed my MR to that cluster with a policy that blocks ingress: aevstifeev/network-policy-demo@85319ec2 . I checked that app was in-accessible
  • I have deployed another policy that whitelists ingress: aevstifeev/network-policy-demo@a5822969

You can check that app on https://aevstifeev-network-policy-demo.35.224.152.153.nip.io/

related to gitlab-org/gitlab#14010 (closed)

Edited Dec 17, 2019 by Arthur Evstifeev
Assignee
Assign to
Reviewer
Request review from
12.7
Milestone
12.7 (Past due)
Assign milestone
Time tracking
Reference: gitlab-org/charts/auto-deploy-app!30
Source branch: add-network-policy