...

Text file src/github.com/linkerd/linkerd2/multicluster/charts/linkerd-multicluster/templates/namespace.yaml

Documentation: github.com/linkerd/linkerd2/multicluster/charts/linkerd-multicluster/templates

     1{{- if eq .Release.Service "CLI" -}}
     2kind: Namespace
     3apiVersion: v1
     4metadata:
     5  name: {{ .Release.Namespace }}
     6  labels:
     7    linkerd.io/extension: multicluster
     8    {{- /* linkerd-init requires extended capabilities and so requires priviledged mode */}}
     9    pod-security.kubernetes.io/enforce: {{ if .Values.cniEnabled }}restricted{{ else }}privileged{{ end }}
    10{{end -}}

View as plain text