Skip to content

Commit 74c439f

Browse files
authored
Merge pull request #375 from vidispine/release-1.34
Release 1.34
2 parents 802183d + c523da7 commit 74c439f

File tree

13 files changed

+113
-13
lines changed

13 files changed

+113
-13
lines changed

azure-pipelines-gated.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
Helm_3_18_6_multi:
4040
HelmVersion: "3.18.6"
4141
TestType: multi
42+
Helm_3_19_0_single:
43+
HelmVersion: "3.19.0"
44+
TestType: single
45+
Helm_3_19_0_multi:
46+
HelmVersion: "3.19.0"
47+
TestType: multi
4248
steps:
4349
- template: azure-pipelines-test.yml # Template reference
4450
parameters:

azure-pipelines.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ jobs:
121121
Helm_3_18_6_multi:
122122
HelmVersion: "3.18.6"
123123
TestType: multi
124+
Helm_3_19_0_single:
125+
HelmVersion: "3.19.0"
126+
TestType: single
127+
Helm_3_19_0_multi:
128+
HelmVersion: "3.19.0"
129+
TestType: multi
124130
steps:
125131
- template: azure-pipelines-test.yml # Template reference
126132
parameters:

hull/CHANGELOG.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# Changelog
22
------------------
3-
[1.34.0]
3+
[1.34.1]
44
------------------
5-
FIXES:
6-
- fixed error thrown due to calculation of hashsums attempted on `secret` and `configmap` object content when the object instance is implicitly disabled. Setting `enabled: false` in the corresponding `_HULL_OBJECT_TYPE_DEFAULT_` instance will implicitly disable rendering for instances which in this case don't explicitly set `enabled: true`. Now, when a `volumeMount` has property `hashsumAnnotation` set to `true` and the targeted `configmap` or `secret` is either implicitly or explicitly disabled in the chart, the calculation of the hashsum is skipped and no errors are thrown.
7-
85
CHANGES:
9-
- initial K8S 1.34 release
10-
- deprecating 1.31 release
11-
- deprecating `endpoint` object type in accordance with [Kubernetes deprecation](https://kubernetes.io/blog/2025/04/24/endpoints-deprecation/). `endpoint` remains as a configurable object type for the time being but tests for `endpoint` are removed because they fail linting starting with Kubernetes JSON schema version 1.34.
6+
- added optional parameters `NOTEMPLATING` and `SERIALIZATION` to `hull.util.tools.virtualdata.data.glob` transformation. The parameters match the behavior of `noTemplating` and `serialization` which are available for processing individual ConfigMap or Secret values. Used with the `hull.util.tools.virtualdata.data.glob` transformation, templating can be skipped and/or serialization performed on all external files captured via the given glob. Thanks [ievgenii-shepeliuk](https://github.com/ievgenii-shepeliuk) for the feature request.

hull/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: hull
3-
version: "1.34.0"
3+
version: "1.34.1"
44
description: HULL - Helm Uniform Layer Library
55
type: library
66
keywords:

hull/HISTORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# History
2+
------------------
3+
[1.34.1]
4+
------------------
5+
CHANGES:
6+
- added optional parameters `NOTEMPLATING` and `SERIALIZATION` to `hull.util.tools.virtualdata.data.glob` transformation. The parameters match the behavior of `noTemplating` and `serialization` which are available for processing individual ConfigMap or Secret `data` values. Used with the `hull.util.tools.virtualdata.data.glob` transformation, templating can be skipped and/or serialization performed on all external files captured via the given glob. Thanks [ievgenii-shepeliuk](https://github.com/ievgenii-shepeliuk) for the feature request.
7+
28
------------------
39
[1.34.0]
410
------------------

hull/files/test/HULL/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ getgauge
22
pyyaml
33
dotty-dict
44
jsonschema
5-
protobuf==4.21
5+
protobuf==6.31.1

hull/files/test/HULL/sources/cases/virtualfolderdata/expected.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,27 @@ code-java-simple.java: "class Main {\r\n\r\n public static void main(String[] a
435435
{\r\n \r\n int first = 10;\r\n int second = 20;\r\n\r\n \r\n int
436436
sum = first + second;\r\n System.out.println(first + \" + \" + second + \"
437437
= \" + sum);\r\n }\r\n}"
438+
templated-code-template.java: "class Main {\n\n public static void main(String[] args) {\n
439+
\ \n int first = 123;\n int second = 456;\n\n int sum = first + second;\n
440+
\ System.out.println(first + \" + \" + second + \" = \" + sum);\n }\n}"
441+
templated-code-no-template.java: "class Main {\n\n public static void main(String[] args) {\n
442+
\ \n int first = {{ .Values.hull.config.specific.insert_into_template_code_1 }};\n int second = {{ .Values.hull.config.specific.insert_into_template_code_2 }};\n\n int sum = first + second;\n
443+
\ System.out.println(first + \" + \" + second + \" = \" + sum);\n }\n}"
444+
templated-json-template.json: '{ "b2": 77 , "a1": "jsonjson", "c3": true, "d4": {"dd": "i
445+
am a templated value in json"} }'
446+
templated-json-no-template.json: '{ "b2": 77 , "a1": "jsonjson", "c3": true, "d4": {"dd": "{{ .Values.hull.config.specific.insert_into_template_json }}"} }'
447+
templated-json-template-serialize.yaml: |-
448+
a1: jsonjson
449+
b2: 77
450+
c3: true
451+
d4:
452+
dd: i am a templated value in json
453+
templated-json-no-template-serialize.yaml: |-
454+
a1: jsonjson
455+
b2: 77
456+
c3: true
457+
d4:
458+
dd: '{{ .Values.hull.config.specific.insert_into_template_json }}'
438459
multiline-string: "This could\nbe a \nSSH key\nor \na \ncertificate\nwith\ndata
439460
\nlike\nASDADWADAASDASDASDASDASDADASD\nBASDASDASDASDASDASD\nCASDECEACSADSADSDA"
440461
simple-string: This is a simple string to be written to a ConfigMap
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
class Main {
2+
3+
public static void main(String[] args) {
4+
5+
int first = {{ .Values.hull.config.specific.insert_into_template_code_1 }};
6+
int second = {{ .Values.hull.config.specific.insert_into_template_code_2 }};
7+
8+
int sum = first + second;
9+
System.out.println(first + " + " + second + " = " + sum);
10+
}
11+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "b2": 77 , "a1": "jsonjson", "c3": true, "d4": {"dd": "{{ .Values.hull.config.specific.insert_into_template_json }}"} }

hull/files/test/HULL/sources/cases/virtualfolderdata/virtualfolderdata.values.hull.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ subdict:
1010
hull:
1111
config:
1212
specific: # Here you can put all that is particular configuration for your app
13+
insert_into_template_json: i am a templated value in json
14+
insert_into_template_code_1: 123
15+
insert_into_template_code_2: 456
1316
value_to_resolve_1: trans
1417
value_to_resolve_2: formation
1518
resolve_me: |-
@@ -306,7 +309,7 @@ hull:
306309
inline: _HT/hull.include.test.dockerconfigjson.code
307310
test-inline-include-code-dict-quote-json:
308311
inline: _HT/toJson|hull.include.test.dockerconfigjson.code.quote
309-
test-inline-include-code-dict-quote-none:
312+
test-inline-include-code-dict-quote-none:
310313
inline: _HT/none|hull.include.test.dockerconfigjson.code.quote
311314
test-inline-include-code-dict-quote-prettyjson:
312315
inline: _HT/toPrettyJson|hull.include.test.dockerconfigjson.code.quote
@@ -857,6 +860,18 @@ hull:
857860
test-glob-import:
858861
data: _HT/hull.util.tools.virtualdata.data.glob:GLOB:"files/code-java-*.java"
859862

863+
test-glob-import-no-template:
864+
data: _HT/hull.util.tools.virtualdata.data.glob:GLOB:"files/templated-*.*":NOTEMPLATING:true
865+
866+
test-glob-import-template:
867+
data: _HT/hull.util.tools.virtualdata.data.glob:GLOB:"files/templated-*.*":NOTEMPLATING:false
868+
869+
test-glob-import-no-template-serialize:
870+
data: _HT/hull.util.tools.virtualdata.data.glob:GLOB:"files/templated-json*.*":NOTEMPLATING:true:SERIALIZATION:"toYaml"
871+
872+
test-glob-import-template-serialize:
873+
data: _HT/hull.util.tools.virtualdata.data.glob:GLOB:"files/templated-json.*":NOTEMPLATING:false:SERIALIZATION:"toYaml"
874+
860875
multiline-string-preserve-linebreaks:
861876
annotations:
862877
multiline-string: _HT*hull.config.specific.multiline-string

0 commit comments

Comments
 (0)