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
Copy file name to clipboardExpand all lines: hull-vidispine-addon/README.md
+63Lines changed: 63 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1297,3 +1297,66 @@ Usage:
1297
1297
1298
1298
Performs `lookup` Helm templating command to lookup a secret in the current namespace by its _SECRET_NAME_. If lookup was succesful, the `data` in the secret is accessed and the base64 decoded value of _KEY_NAME_ is returned if found, otherwise an empty string.
1299
1299
1300
+
1301
+
1302
+
### hull.vidispine.addon.library.systemtype
1303
+
1304
+
Parameters:
1305
+
1306
+
_PARENT_CONTEXT_: The Helm charts global context
1307
+
1308
+
_TO_LOWER_: If true, the `systemType` value is converted to lower case
1309
+
1310
+
Usage:
1311
+
1312
+
Looks up the `systemType` which is expected to be set at `.Values.hull.config.specific.systemType` and optionally lower cases it before returning it.
1313
+
1314
+
1315
+
1316
+
### hull.vidispine.addon.library.systemtype.path
1317
+
1318
+
Parameters:
1319
+
1320
+
_PARENT_CONTEXT_: The Helm charts global context
1321
+
1322
+
_FILE_: The file to retrieve from the `systemType` specific folder
1323
+
1324
+
Usage:
1325
+
1326
+
Returns a path constructed from `systemType`/`FILE` so a particular file for the given system.
1327
+
1328
+
1329
+
1330
+
### hull.vidispine.addon.library.systemtype.in
1331
+
1332
+
Parameters:
1333
+
1334
+
_PARENT_CONTEXT_: The Helm charts global context
1335
+
1336
+
_CHECK_: One or more `systemType` values. If multiple values are used they need to be seperated with `,`
1337
+
1338
+
_CASE_SENSITIVE_: If true, the check of `systemType` against `CHECK` values is considering the casing, otherwise it is case-invariant which is the default
1339
+
1340
+
Usage:
1341
+
1342
+
Upon providing one or a list of values in the `CHECK` parameters, the return value indicates whether the current `systemType` is in the given values or not. Optionally consider case in the check by setting `_CASE_SENSITIVE_` to `true`.
_CHECK_: One or more `systemType` values. If multiple values are used they need to be seperated with `,`
1353
+
1354
+
_CASE_SENSITIVE_: If true, the check of `systemType` against `CHECK` values is considering the casing, otherwise it is case-invariant which is the default
1355
+
1356
+
_VALUE_TRUE_: The value to return in case `systemType` is contained in the `CHECK` values
1357
+
1358
+
_VALUE_FALSE_: The value to return in case `systemType` is not contained in the `CHECK` values
1359
+
1360
+
Usage:
1361
+
1362
+
Checks whether `systemType` is in a list of values provided by `CHECK` which is the same as `hull.vidispine.addon.library.systemtype.in`, but returns provided `VALUE_TRUE` or `VALUE_FALSE` in the respective case.
0 commit comments