Documentation
¶
Overview ¶
Package isolation contains isolation mode tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControlPlaneDNSSpec ¶ added in v0.38.0
func ControlPlaneDNSSpec()
ControlPlaneDNSSpec registers a test that the control plane NetworkPolicy lets the control plane resolve names through CoreDNS labeled k8s-app=vcluster-kube-dns. The tenant cluster must have policies.networkPolicy enabled. Register it only in suites that install the chart from this tree, because it tests a rule that chart renders.
func IsolationModeSpec ¶
func IsolationModeSpec()
IsolationModeSpec registers isolation mode tests. The vCluster must be configured with policies.podSecurityStandard, resourceQuota, limitRange, and networkPolicy enabled (see vcluster-isolation-mode.yaml).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.