Skip to content

Commit dcd15df

Browse files
authored
Merge pull request #94 from vidispine/fixes-1.28
add proxy support
2 parents b842f12 + cd49a95 commit dcd15df

File tree

8 files changed

+24
-4
lines changed

8 files changed

+24
-4
lines changed

azure-pipelines-gated.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ jobs:
2525
- version: "3.10.3"
2626
- version: "3.11.3"
2727
- version: "3.12.3"
28+
- version: "3.13.2"
29+
2830

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
HelmVersions:
2424
- version: "3.10.3"
2525
- version: "3.11.3"
26-
- version: "3.12.3"
26+
- version: "3.12.3"
27+
- version: "3.13.2"
2728

2829

2930
- job: CreateRelease

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.28.0
44
description: hull-vidispine-addon
55
name: hull-vidispine-addon
6-
version: 1.28.5
6+
version: 1.28.6

hull-vidispine-addon/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Describes configuration options. <br>Has exclusively the following sub-fields: <
5656
| `preScript` | A Powershell script to be executed before the installation jobs endpoints are processed.
5757
| `postScript` | A Powershell script to be executed after the installation jobs endpoints are processed.
5858
| `productUris` | Product URIs that are can be used in conjunction with the transformations that populate authentication client data such as `hull.vidispine.addon.coruris` and `hull.vidispine.addon.producturis`. <br><br>When populated the entries here will be manipulated according to the transformation and are added to the fields where the transformation is applied. <br><br>Note that this can be automatically populated by a `hull.util.transformation.tpl` from the `hull.config.general.data.endpoints` fields like in the example. | `[]` | `productUris:`<br>`-`&#160;`https://myapp`<br>`-`&#160;`https://myappalternativehost`<br><br>or<br><br>`productUris:`<br>&#160;&#160;`_HULL_TRANSFORMATION_:`<br>&#160;&#160;&#160;&#160;`NAME:`&#160;`hull.util.transformation.tpl`<br>&#160;&#160;&#160;&#160;`CONTENT:`&#160;`"`<br>&#160;&#160;&#160;&#160;&#160;&#160;`[`<br>&#160;&#160;&#160;&#160;&#160;&#160;`{{-`&#160;`(index`&#160;`.`&#160;`\"PARENT\").Values.hull.config.general.data.endpoints.configportal.uri.api`&#160;`-}},`<br>&#160;&#160;&#160;&#160;&#160;&#160;`{{-`&#160;`(index`&#160;`.`&#160;`\"PARENT\").Values.hull.config.general.data.endpoints.configportal.uri.ui`&#160;`-}}`<br>&#160;&#160;&#160;&#160;&#160;&#160;`]"`
59+
| `proxy.httpProxy` | If set to a non empty string, the value is added as environment variable `HTTP_PROXY` to `hull-install` and `hull-configure` installation containers | `""` | `"http://10.161.172.192:3128"`
60+
| `proxy.httpsProxy` | If set to a non empty string, the value is added as environment variable `HTTPS_PROXY` to `hull-install` and `hull-configure` installation containers | `""` | `"http://10.161.172.192:3128"`
61+
| `proxy.noProxy` | If set to a non empty string, the value is added as environment variable `NO_PROXY` to `hull-install` and `hull-configure` installation containers | `""` | `".cluster.local.,.cluster.local,.svc,10.42.0.0/16,10.43.0.0/16"`
5962
| `debug` | Debug configuration options. | `debug:`<br>&#160;&#160;`ignoreEntityRestCallErrors:`&#160;`false`<br>&#160;&#160;`retriesForEntityRestCall:`&#160;`3`<br>&#160;&#160;`retriesForAuthServiceCall:`&#160;&#160;`5` | `debug:`<br>&#160;&#160;`ignoreEntityRestCallErrors:`&#160;`true`<br>&#160;&#160;`retriesForEntityRestCall:`&#160;`1`<br>&#160;&#160;`retriesForAuthServiceCall:`&#160;`1`
6063
| `debug.ignoreEntityRestCallErrors` | If `false`, the `hull-install` and `hull-configure` scripts will stop after an error was encountered and the allowed number of retries was exceeded. To instead ignore errors and provide a list of failed `entities` after execution set this value to `true`, This can be useful for debugging potential issues with Helm Charts. | `false` | `true`
6164
| `debug.retriesForEntityRestCall` | Sets number of retries for each individual GET, PUT, POST and DELETE call before considering the operation failed. | `3` | `1`

hull-vidispine-addon/files/test/HULL/sources/charts/hull-test/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ name: hull-test
66
version: 1.28.0
77
dependencies:
88
- name: hull
9-
version: "1.28.3"
9+
version: "1.28.6"
1010
repository: "https://vidispine.github.io/hull"
Binary file not shown.
Binary file not shown.

hull-vidispine-addon/hull-vidispine-addon.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ hull:
1111
preScript: ""
1212
postScript: ""
1313
productUris: []
14+
proxy:
15+
httpProxy: ""
16+
httpsProxy: ""
17+
noProxy: ""
1418
debug:
1519
ignoreEntityRestCallErrors: false
1620
retriesForEntityRestCall: 3
@@ -468,11 +472,21 @@ hull:
468472
containers:
469473
installation:
470474
command: ["/bin/sh", "-c"]
471-
volumeMounts: _HT/hull.vidispine.addon.sources.folder.volumemounts
475+
volumeMounts: _HT/hull.vidispine.addon.sources.folder.volumemounts
472476
envFrom:
473477
auth:
474478
secretRef:
475479
name: auth
480+
env:
481+
HTTP_PROXY:
482+
enabled: _HT?ne (index . "$").Values.hull.config.general.data.installation.config.proxy.httpProxy ""
483+
value: _HT*hull.config.general.data.installation.config.proxy.httpProxy
484+
HTTPS_PROXY:
485+
enabled: _HT?ne (index . "$").Values.hull.config.general.data.installation.config.proxy.httpsProxy ""
486+
value: _HT*hull.config.general.data.installation.config.proxy.httpsProxy
487+
NO_PROXY:
488+
enabled: _HT?ne (index . "$").Values.hull.config.general.data.installation.config.proxy.noProxy ""
489+
value: _HT*hull.config.general.data.installation.config.proxy.noProxy
476490
volumes: _HT/hull.vidispine.addon.sources.folder.volumes
477491

478492
'hull-install':

0 commit comments

Comments
 (0)