Skip to content

Commit

Permalink
[konflux] set dummy default labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwindasr committed Nov 15, 2024
1 parent 6abcd3a commit ce91f55
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doozer/doozerlib/backend/rebaser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,10 +1382,12 @@ def _reflow_labels(self, df_path: Path):
if labels:
additional_labels = {}

if "io.k8s.description" not in labels:
additional_labels["io.k8s.description"] = "Dummy io.k8s.description"
if "description" not in labels:
additional_labels["description"] = labels.get("io.k8s.description", "Dummy Description")
additional_labels["description"] = labels.get("io.k8s.description", "Dummy description")
if "summary" not in labels:
additional_labels["summary"] = labels.get("io.k8s.description", "Dummy Summary")
additional_labels["summary"] = labels.get("io.k8s.description", "Dummy summary")

labels.update(additional_labels)

Expand Down

0 comments on commit ce91f55

Please sign in to comment.