Skip to content

Commit

Permalink
add label 'managed-by' (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola authored Sep 25, 2024
1 parent 7e1c711 commit 3b32f33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class BootNodeResource extends NodeResource {
"zombie-role": ZombieRole.BootNode,
app: "zombienet",
"x-infra-instance": process.env.X_INFRA_INSTANCE || "ondemand",
"managed-by": "zombienet",
},
},
spec: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export class NodeResource {
"app.kubernetes.io/name": this.namespace,
"app.kubernetes.io/instance": name,
"x-infra-instance": process.env.X_INFRA_INSTANCE || "ondemand",
"managed-by": "zombienet",
},
annotations: {
"prometheus.io/scrape": "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export interface Labels {
"app.kubernetes.io/name": string;
"app.kubernetes.io/instance": string;
"x-infra-instance": string;
"managed-by": string;
}

export interface Annotations {
Expand Down

0 comments on commit 3b32f33

Please sign in to comment.