Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static void main(String[] args) throws IOException, ApiException {
// that another manager may have changed in the meantime.
configMap.data(Map.of("greeting", "hello again"));
V1ConfigMap updated =
ServerSideApply.builder(client)
ServerSideApply.<V1ConfigMap, V1ConfigMapList>builder(client)
.apiTypeClass(V1ConfigMap.class)
.apiListTypeClass(V1ConfigMapList.class)
.resource(configMap)
Expand All @@ -77,7 +77,7 @@ public static void main(String[] args) throws IOException, ApiException {
// A dry-run apply is validated by the server but never persisted.
configMap.data(Map.of("greeting", "not persisted"));
V1ConfigMap dryRun =
ServerSideApply.builder(client)
ServerSideApply.<V1ConfigMap, V1ConfigMapList>builder(client)
.apiTypeClass(V1ConfigMap.class)
.apiListTypeClass(V1ConfigMapList.class)
.resource(configMap)
Expand Down