appuio / component-appuio-cloud

APPUiO Cloud
https://hub.syn.tools/appuio-cloud/index.html
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Support scheduling Cloud Agent on master nodes #164

Closed DebakelOrakel closed 1 year ago

DebakelOrakel commented 1 year ago

Checklist

DebakelOrakel commented 1 year ago

@simu Do you by chance have insight, what jsonnet linter is unhappy whit?

simu commented 1 year ago

@simu Do you by chance have insight, what jsonnet linter is unhappy whit?

make format spits out the following diff:

diff --git a/component/main.jsonnet b/component/main.jsonnet
index fa73d86..1672148 100644
--- a/component/main.jsonnet
+++ b/component/main.jsonnet
@@ -10,7 +10,7 @@ local params = inv.parameters.appuio_cloud;
 local isOpenshift = std.startsWith(inv.parameters.facts.distribution, 'openshift');
 local namespaceLabels = (
   if isOpenshift then { 'openshift.io/cluster-monitoring': 'true' }
-  else { 'SYNMonitoring': 'main' }
+  else { SYNMonitoring: 'main' }
 ) + params.namespaceLabels;
 local namespaceAnnotations = (
   if isOpenshift then { 'openshift.io/node-selector': '' }