Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForApp ¶
ForApp creates a single Kubernetes NetworkPolicy that restricts incoming network traffic to all pods in an app, so that they cannot be reached by pods from other projects.
func ForBuilder ¶
ForBuilder creates a Kubernetes NetworkPolicy to allow traffic to the buildkitd pods from the acorn-api only. It also only allows outgoing traffic to CoreDNS, the Acorn registry, and the Internet.
func ForIngress ¶
ForIngress creates Kubernetes NetworkPolicies to allow traffic to exposed HTTP ports on Acorn apps from the ingress controller. If the ingress controller namespace is not defined, traffic from all namespaces will be allowed instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.