Remove references to CrossNamespaceAffinity
The scope CrossNamespaceAffinity does not exist. Attempting to feed the example
YAML to `kubectl create` results in the following error:
> The ResourceQuota "disable-cross-namespace-affinity" is invalid:
> * spec.scopeSelector.matchExpressions.scopeName: Invalid value:
> "CrossNamespaceAffinity": unsupported scope
Add missing operator for CrossNamespacePodAffinity
Trying to create the example ResourceQuotas without an operator results in the
following error from `kubectl create`:
> The ResourceQuota "disable-cross-namespace-affinity" is invalid:
> * spec.scopeSelector.matchExpressions.operator: Invalid value: "": must be
> 'Exist' when scope is any of ResourceQuotaScopeTerminating,
> ResourceQuotaScopeNotTerminating, ResourceQuotaScopeBestEffort,
> ResourceQuotaScopeNotBestEffort or
> ResourceQuotaScopeCrossNamespacePodAffinity
> * spec.scopeSelector.matchExpressions.operator: Invalid value: "": not a valid
> selector operator
The error message itself has another bug, as the operator is Exist*s*, not
Exist.
Signed-off-by: Simon Engmann <simon.engmann@sovity.de>
The logical navigation definitely works better if Pod Security admission
and PodSecurityPolicy are pages in the same section. Make It So.
Co-authored-by: Rey Lejano <rlejano@gmail.com>
* Include link to Pod Security Admission in the PodSecurityPolicy deprecation notice
Add a link to the Pod Security Admission feature, which replaces PodSecurityPolicy. Currently users who read this page may not realize what the replacement is. The linked blog post talks about the KEP that created Pod Security Admission, but with no direct link.
* Remove link prefix
Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
This PR fixes the links in the concepts section. Most of the links are
not dead links in English version because there are redirects for them.
However, these links will be broken when localized to any languages
other English.
Where appropriate. this PR also wraps some long lines which are
unfriendly to any localization team that try to catch the differences
between revisions.
* Adjust yaml indentation on allowedHostPaths
allowedHostPaths is an attribute inside spec: of PSP, so the sample needs to be shifted to match the YAML.
* Adjusted the PSP example allowedHostPaths coments
Adjusted the whole example (including the #coments)