Skip to content

Commit 8b2c17d

Browse files
author
Georg Martin Weber
committed
docu
1 parent fe38886 commit 8b2c17d

File tree

2 files changed

+64
-1
lines changed

2 files changed

+64
-1
lines changed

hull-vidispine-addon/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ apiVersion: v1
33
appVersion: 1.30.0
44
description: hull-vidispine-addon
55
name: hull-vidispine-addon
6-
version: 1.30.3
6+
version: 1.30.4

hull-vidispine-addon/README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,3 +1297,66 @@ Usage:
12971297

12981298
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.
12991299

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`.
1343+
1344+
1345+
1346+
### hull.vidispine.addon.library.systemtype.in.conditional.value
1347+
1348+
Parameters:
1349+
1350+
_PARENT_CONTEXT_: The Helm charts global context
1351+
1352+
_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

Comments
 (0)