Skip to content

Commit f290fb8

Browse files
committed
docs: blog on ssa vs non-SSA
Signed-off-by: Attila Mészáros <[email protected]>
1 parent f5f0a60 commit f290fb8

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

docs/content/en/blog/news/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
title: News
2+
title: Posts
33
weight: 20
44
---
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: From client side to server side apply
3+
date: 2025-02-17
4+
---
5+
6+
From version 5 of Java Operator SDK [server side apply](https://kubernetes.io/docs/reference/using-api/server-side-apply/)
7+
is a first-class feature, and used by default to update resources. Since, as we will see,
8+
unfortunately (or fortunately) to use is it requires changes for your reconciler implementation.
9+
10+
For this reason, we prepared a feature flag, which you can flip if not prepared to migrate yet:
11+
[`ConfigurationService.useSSAToPatchPrimaryResource`](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java#L493)
12+
13+
Setting this flag to false will make the operations done by `UpdateControl` using the former approach (not SSA).
14+
As well as adding the finalizer with SSA if needed
15+
16+
For dependent resources a separate flag exists (this was true also before v5) to use SSA or not:
17+
18+
19+
## Resource handling without and with SSA
20+
21+
22+
## Migrating to SSA
23+

0 commit comments

Comments
 (0)