Skip to content

Commit a9d84fc

Browse files
ArthurSensroboquat
authored andcommitted
Remove grafana nodeSelector
Signed-off-by: ArthurSens <[email protected]>
1 parent 264b47a commit a9d84fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.werft/observability/monitoring-satellite.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,9 @@ export class MonitoringSatelliteInstaller {
116116
werft.failSlice(sliceName, err)
117117
return
118118
}
119+
120+
// The grafana YAML files we're importing have nodeSelector tied to a nodepool that don't exist in previews
121+
// We're hot-patching the removal os such nodeSelector to make sure Grafana starts
122+
exec(`kubectl patch deployments.apps -n monitoring-satellite grafana --type=json -p="[{'op': 'remove', 'path': '/spec/template/spec/nodeSelector'}]"`)
119123
}
120124
}

0 commit comments

Comments
 (0)