You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support more flexible namespace naming format in the multi name space
mode via configuration.
Co-authored-by: Ajith Chandran <[email protected]>
Co-authored-by: Wojtek Koronski <[email protected]>
"description": "NamespaceNameFormat allows you to customize the name of the physical namespaces."
1340
+
},
1337
1341
"namespaceLabels": {
1338
1342
"additionalProperties": {
1339
1343
"type": "string"
@@ -1345,6 +1349,28 @@
1345
1349
"additionalProperties": false,
1346
1350
"type": "object"
1347
1351
},
1352
+
"ExperimentalMultiNamespaceNameFormat": {
1353
+
"properties": {
1354
+
"prefix": {
1355
+
"type": "string",
1356
+
"description": "Prefix is the prefix added to the physical namespaces.\nIf empty, the default is to use \"vcluster\""
1357
+
},
1358
+
"rawBase": {
1359
+
"type": "boolean",
1360
+
"description": "If RawBase is true, use the virtual namespace as is, otherwise hash it."
1361
+
},
1362
+
"rawSuffix": {
1363
+
"type": "boolean",
1364
+
"description": "If RawSuffix is true, use the cluster name as is, otherwise hash it."
1365
+
},
1366
+
"avoidRedundantFormatting": {
1367
+
"type": "boolean",
1368
+
"description": "If AvoidRedundantFormatting is true, we check if base (the name between prefix and suffix)\nalready contains the prefix and suffix. In that case, we just return base, instead of\nformatting again. Otherwise, we always add prefix and suffix."
0 commit comments