Skip to content

Commit

Permalink
fix: labels cannot contain "/"
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Nov 7, 2023
1 parent 61e72c7 commit ba81018
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infra/util/labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ba81018

Please sign in to comment.