Add linkerd.io/extension label (#5311)

The namespace that Linkerd extensions are installed into is configurable.  This can make it difficult to know which extensions are installed and where they are located.  We add a `linkerd.io/extension` namespace label to easily enumerate and locate Linkerd extensions.  This can be used, for example, to enable certain features only when certain extensions are installed.  All new Linkerd extensions should include this namespace label.

Signed-off-by: Alex Leong <alex@buoyant.io>
This commit is contained in:
Alex Leong 2020-12-02 13:17:06 -08:00 committed by GitHub
parent ed1dff5366
commit 86d6b46e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3,5 +3,7 @@ kind: Namespace
apiVersion: v1
metadata:
name: {{.Values.namespace}}
labels:
linkerd.io/extension: linkerd-jaeger
annotations:
linkerd.io/inject: enabled