Skip to content

Commit 531ad24

Browse files
authored
Use client-java 16.0.3 and ensure non-empty args SafeConstructor usage (#4168)
1 parent e3947a7 commit 531ad24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

operator/src/main/java/oracle/kubernetes/operator/helpers/CrdHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static V1CustomResourceValidation getValidationFromCrdSchemaFile(String fileCont
216216
private static org.yaml.snakeyaml.Yaml getSnakeYaml() {
217217
LoaderOptions loaderOptions = new LoaderOptions();
218218
loaderOptions.setEnumCaseSensitive(false);
219-
return new org.yaml.snakeyaml.Yaml(new SafeConstructor(), new Yaml.CustomRepresenter());
219+
return new org.yaml.snakeyaml.Yaml(new SafeConstructor(loaderOptions), new Yaml.CustomRepresenter());
220220
}
221221

222222
static V1CustomResourceSubresources createSubresources() {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@
628628
<assertj.core.version>3.24.2</assertj.core.version>
629629
<commons.io.version>2.11.0</commons.io.version>
630630
<awaitility-version>4.2.0</awaitility-version>
631-
<client-java-version>16.0.2</client-java-version>
631+
<client-java-version>16.0.3</client-java-version>
632632
<kotlin-stdlib-version>1.8.20</kotlin-stdlib-version>
633633
<okhttp-version>4.10.0</okhttp-version>
634634
<junit.jupiter.version>5.9.2</junit.jupiter.version>

0 commit comments

Comments
 (0)