From e61fc1c66d234d4b240a543737432c186c6ba6fb Mon Sep 17 00:00:00 2001 From: Blayne Chard Date: Wed, 1 Nov 2023 17:26:15 +1300 Subject: [PATCH] feat: add git repository location --- infra/util/labels.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/util/labels.ts b/infra/util/labels.ts index 22f654096..c8e055143 100644 --- a/infra/util/labels.ts +++ b/infra/util/labels.ts @@ -21,6 +21,8 @@ export function defaultLabels( 'app.kubernetes.io/component': component, 'app.kubernetes.io/part-of': partOf, 'app.kubernetes.io/managed-by': 'cdk8s', + // TODO these are not "well-known" maybe we should move them into the linz namespace? + 'app.kubernetes.io/git-repository': 'linz/topo-workflows', 'app.kubernetes.io/git-hash': getGitBuildInfo().hash, 'app.kubernetes.io/git-version': getGitBuildInfo().version, 'app.kubernetes.io/build-id': getGitBuildInfo().buildId,