firewallpatch

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package firewallpatch provides a set of default config patches to enable firewall.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControlPlane

func ControlPlane(defaultAction nethelpers.DefaultAction, cidrs []netip.Prefix, gateways []netip.Addr, controlplanes []netip.Addr) configpatcher.Patch

ControlPlane generates a default firewall for a controlplane node.

Kubelet and Trustd are only available within the cluster. Apid & Kubernetes API is wide open. Etcd is only available within the controlplanes.

func Worker

func Worker(defaultAction nethelpers.DefaultAction, cidrs []netip.Prefix, gateways []netip.Addr) configpatcher.Patch

Worker generates a default firewall for a worker node.

Kubelet & apid are only available within the cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL