"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.25.4/staging/src/k8s.io/pod-security-admission/webhook/manifests/10-namespace.yaml" (9 Nov 2022, 356 Bytes) of package /linux/misc/kubernetes-1.25.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 apiVersion: v1
    2 kind: Namespace
    3 metadata:
    4   name: pod-security-webhook
    5   labels:
    6     # Even though the validating webhook excludes intercepting this namespace to avoid a circular dependency,
    7     # the deployment pod spec is compatible with the restricted level, so mark the namespace as restricted anyway.
    8     pod-security.kubernetes.io/enforce: restricted