diff --git a/infra/util/labels.ts b/infra/util/labels.ts index c8e055143..9fa8dc410 100644 --- a/infra/util/labels.ts +++ b/infra/util/labels.ts @@ -22,7 +22,8 @@ export function defaultLabels( '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', + // Labels cannot include "/" so replace with "__" + '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,